diff options
author | dlenev@mysql.com <> | 2005-04-11 09:53:54 +0400 |
---|---|---|
committer | dlenev@mysql.com <> | 2005-04-11 09:53:54 +0400 |
commit | b0dd388190dea7216963d911a254b1723c5b0aae (patch) | |
tree | 35c7316b09fe88b5f04e5135e82b15ca5a79ecc7 /sql/item_create.cc | |
parent | 16e186779f270bf9877938d20acdcebbee0d2e38 (diff) | |
parent | 06e36472741258f89f58be90a94bf66ad45bb32c (diff) | |
download | mariadb-git-b0dd388190dea7216963d911a254b1723c5b0aae.tar.gz |
Merge mysql.com:/home/dlenev/src/mysql-4.0-bg9796
into mysql.com:/home/dlenev/src/mysql-4.1-merges
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r-- | sql/item_create.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc index c0361c928be..4b313d49466 100644 --- a/sql/item_create.cc +++ b/sql/item_create.cc @@ -306,6 +306,7 @@ Item *create_func_current_user() char buff[HOSTNAME_LENGTH+USERNAME_LENGTH+2]; uint length; + thd->safe_to_cache_query= 0; length= (uint) (strxmov(buff, thd->priv_user, "@", thd->priv_host, NullS) - buff); return new Item_string(NullS, thd->memdup(buff, length), length, |