mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-14249 Wrong character set info of Query_log_event and the query in Query_log_event constructed by different charsets cause error when slave apply the event.
This commit is contained in:
@ -643,7 +643,8 @@ bool mysql_create_view(THD *thd, TABLE_LIST *views,
|
||||
|
||||
if (!res && mysql_bin_log.is_open())
|
||||
{
|
||||
String buff;
|
||||
StringBuffer<128> buff(thd->variables.character_set_client);
|
||||
DBUG_ASSERT(buff.charset()->mbminlen == 1);
|
||||
const LEX_STRING command[3]=
|
||||
{{ C_STRING_WITH_LEN("CREATE ") },
|
||||
{ C_STRING_WITH_LEN("ALTER ") },
|
||||
|
Reference in New Issue
Block a user