mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
WL#807 Optimize loading database options in load_db_opt
also known as BUG#2326 Charset of table is determined by charset of db only if "USE db;"
This commit is contained in:
@@ -4805,6 +4805,7 @@ bool reload_acl_and_cache(THD *thd, ulong options, TABLE_LIST *tables,
|
||||
if (lock_global_read_lock(thd))
|
||||
return 1;
|
||||
}
|
||||
my_dbopt_free();
|
||||
result=close_cached_tables(thd,(options & REFRESH_FAST) ? 0 : 1, tables);
|
||||
}
|
||||
if (options & REFRESH_HOSTS)
|
||||
|
||||
Reference in New Issue
Block a user