1
0
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:
unknown
2004-07-08 15:03:01 +05:00
parent 002a555e5b
commit f96b20c95e
8 changed files with 299 additions and 29 deletions

View File

@@ -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)