mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.0-galera' into 10.1
This commit is contained in:
@ -310,6 +310,16 @@ bool reload_acl_and_cache(THD *thd, unsigned long long options,
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef WITH_WSREP
|
||||
if (thd && thd->wsrep_applier)
|
||||
{
|
||||
/*
|
||||
In case of applier thread, do not wait for table share(s) to be
|
||||
removed from table definition cache.
|
||||
*/
|
||||
options|= REFRESH_FAST;
|
||||
}
|
||||
#endif
|
||||
if (close_cached_tables(thd, tables,
|
||||
((options & REFRESH_FAST) ? FALSE : TRUE),
|
||||
(thd ? thd->variables.lock_wait_timeout :
|
||||
|
Reference in New Issue
Block a user