diff options
author | unknown <serg@serg.mylan> | 2004-02-27 23:59:09 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-02-27 23:59:09 +0100 |
commit | 30a8a6523856579caf1c61c531a624847819f675 (patch) | |
tree | 2ac4e462b8cb8c478b4569b8e5425cce4758e5ae /sql/item_strfunc.h | |
parent | b2674f76c1fc8d7799951ae7d688b9574e27721e (diff) | |
download | mariadb-git-30a8a6523856579caf1c61c531a624847819f675.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 *); }; |