diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2019-06-14 11:32:30 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2019-06-14 11:32:30 +0400 |
commit | 2762e165083c35b1ae70069200372aec95f6fd79 (patch) | |
tree | 0d2d67b2cc8b1baaf89111d6d3d80a52a744cb59 /sql/sql_plugin.h | |
parent | 5b65d61d9384a45ea1b8df79694493fbb1a14e4a (diff) | |
download | mariadb-git-bb-hf-mdev-18661.tar.gz |
MDEV-18661 loading the audit plugin causes performance regression.bb-hf-mdev-18661
Plugin fixed to not lock the LOCK_operations when not active.
Server fixed to lock the LOCK_plugin less - do it once per thread
and then only if a plugin was installed/uninstalled.
Diffstat (limited to 'sql/sql_plugin.h')
-rw-r--r-- | sql/sql_plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_plugin.h b/sql/sql_plugin.h index 7f741144f00..3bde06a992c 100644 --- a/sql/sql_plugin.h +++ b/sql/sql_plugin.h @@ -37,6 +37,7 @@ enum enum_plugin_load_option { PLUGIN_OFF, PLUGIN_ON, PLUGIN_FORCE, PLUGIN_FORCE_PLUS_PERMANENT }; extern const char *global_plugin_typelib_names[]; +extern volatile int global_plugin_version; extern ulong dlopen_count; #include <my_sys.h> |