summaryrefslogtreecommitdiff
path: root/sql/item_create.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-01-04 15:37:20 +0200
committermonty@mashka.mysql.fi <>2003-01-04 15:37:20 +0200
commit6d6f051178c7c3201c77b5fa427252d50bd5fea3 (patch)
treeaa5cff7e153050d86b7effd693496f071d21e24a /sql/item_create.cc
parent07daf3169e0d55d31b2974098f9002f8508c4186 (diff)
downloadmariadb-git-6d6f051178c7c3201c77b5fa427252d50bd5fea3.tar.gz
Added support for DROP TEMPORARY TABLE
Removed mysql_warnings() API function. Post merge fixes.
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r--sql/item_create.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc
index f277061394a..0dba7f6e3ae 100644
--- a/sql/item_create.cc
+++ b/sql/item_create.cc
@@ -311,7 +311,8 @@ Item *create_func_current_user()
length= (uint) (strxmov(buff, thd->priv_user, "@", thd->host_or_ip, NullS) -
buff);
- return new Item_string("CURRENT_USER()", thd->memdup(buff, length), length);
+ return new Item_string("CURRENT_USER()", thd->memdup(buff, length), length,
+ default_charset_info);
}
Item *create_func_quarter(Item* a)