mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-33145 support for old-mode=OLD_FLUSH_STATUS
add old-mode that restores inconsistent legacy behavior for FLUSH STATUS. It doesn't affect FLUSH { SESSION | GLOBAL } STATUS.
This commit is contained in:
@@ -379,6 +379,8 @@ bool reload_acl_and_cache(THD *thd, unsigned long long options,
|
||||
#endif
|
||||
if (options & REFRESH_HOSTS)
|
||||
hostname_cache_refresh();
|
||||
if (thd && (options & REFRESH_STATUS))
|
||||
refresh_status_legacy(thd);
|
||||
if (thd && (options & REFRESH_SESSION_STATUS))
|
||||
refresh_session_status(thd);
|
||||
if ((options & REFRESH_GLOBAL_STATUS))
|
||||
|
Reference in New Issue
Block a user