diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2019-03-21 00:42:48 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2019-05-03 16:46:11 +0400 |
commit | 894df7edb67b888c41eae5ffbe654ceba97c6b8f (patch) | |
tree | f5d1e9d5fb1c33e0027dd94260361429395c23e4 /sql/sql_plugin.h | |
parent | 53671a1fff8d4aa0978be2fb916f8e053c09424a (diff) | |
download | mariadb-git-894df7edb67b888c41eae5ffbe654ceba97c6b8f.tar.gz |
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
Diffstat (limited to 'sql/sql_plugin.h')
-rw-r--r-- | sql/sql_plugin.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/sql_plugin.h b/sql/sql_plugin.h index 4e899e18f9b..01ec0563050 100644 --- a/sql/sql_plugin.h +++ b/sql/sql_plugin.h @@ -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 |