mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
SHOW CREATE TABLE didn't display field names in the proper charset
mysys/charset.c: Clear all fields at the end of previous charset
This commit is contained in:
@ -1014,12 +1014,12 @@ append_identifier(THD *thd, String *packet, const char *name)
|
||||
if (thd->options & OPTION_QUOTE_SHOW_CREATE)
|
||||
{
|
||||
packet->append(&qtype, 1);
|
||||
packet->append(name);
|
||||
packet->append(name, 0, system_charset_info);
|
||||
packet->append(&qtype, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
packet->append(name);
|
||||
packet->append(name, 0, system_charset_info);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user