mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Bug#49501 Inefficient information_schema check (system collation), addon
removed wrongly introduced strlen calls
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user