mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 19:55:32 +02:00
Bug#49501 Inefficient information_schema check (system collation), addon
removed wrongly introduced strlen calls sql/events.cc: removed wrongly introduced strlen calls sql/mysql_priv.h: removed wrongly introduced strlen calls sql/repl_failsafe.cc: removed wrongly introduced strlen calls sql/sql_db.cc: removed wrongly introduced strlen calls sql/sql_parse.cc: removed wrongly introduced strlen calls sql/sql_show.cc: removed wrongly introduced strlen calls
This commit is contained in:
parent
f42a200e9e
commit
4a10f7b46c
6 changed files with 13 additions and 8 deletions
|
|
@ -826,7 +826,7 @@ bool mysqld_show_create_db(THD *thd, char *dbname,
|
|||
DBUG_RETURN(TRUE);
|
||||
}
|
||||
#endif
|
||||
if (is_schema_db(dbname, strlen(dbname)))
|
||||
if (is_schema_db(dbname))
|
||||
{
|
||||
dbname= INFORMATION_SCHEMA_NAME.str;
|
||||
create.default_table_charset= system_charset_info;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue