mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Adieu find_sys_var_ex()
Only take LOCK_plugin for plugin system variables. Reverted optimisation that was originally done for session tracker: it makes much less sense now. Specifically only if connections would want to track plugin session variables changes and these changes would actually happen frequently. If this ever becomes an issue, there're much better ways to optimise this workload. Part of MDEV-14984 - regression in connect performance
This commit is contained in:
@ -196,9 +196,6 @@ extern void sync_dynamic_session_variables(THD* thd, bool global_lock);
|
||||
extern bool plugin_dl_foreach(THD *thd, const LEX_CSTRING *dl,
|
||||
plugin_foreach_func *func, void *arg);
|
||||
|
||||
sys_var *find_sys_var_ex(THD *thd, const char *str, size_t length,
|
||||
bool throw_error, bool locked);
|
||||
|
||||
extern void sync_dynamic_session_variables(THD* thd, bool global_lock);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user