mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
fix CHARSET(UUID())
This commit is contained in:
parent
b2674f76c1
commit
30a8a65238
2 changed files with 5 additions and 1 deletions
|
|
@ -2730,6 +2730,7 @@ String *Item_func_uuid::val_str(String *str)
|
|||
|
||||
str->realloc(UUID_LENGTH+1);
|
||||
str->length(UUID_LENGTH);
|
||||
str->set_charset(system_charset_info);
|
||||
s=(char *) str->ptr();
|
||||
s[8]=s[13]='-';
|
||||
tohex(s, time_low, 8);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue