diff options
author | serg@serg.mylan <> | 2004-02-27 23:59:09 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2004-02-27 23:59:09 +0100 |
commit | 65077a8a0e0ae0121e742ed48941123ef233eb84 (patch) | |
tree | 2ac4e462b8cb8c478b4569b8e5425cce4758e5ae /sql/item_strfunc.h | |
parent | 111ffb76319acf2ffc4b938358e337a7afd59784 (diff) | |
download | mariadb-git-65077a8a0e0ae0121e742ed48941123ef233eb84.tar.gz |
fix CHARSET(UUID())
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r-- | sql/item_strfunc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index 859983f443d..7eb0750711f 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -696,7 +696,10 @@ class Item_func_uuid: public Item_str_func { public: Item_func_uuid(): Item_str_func() {} - void fix_length_and_dec() {max_length= UUID_LENGTH; } + void fix_length_and_dec() { + collation.set(system_charset_info); + max_length= UUID_LENGTH; + } const char *func_name() const{ return "uuid"; } String *val_str(String *); }; |