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_class.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_class.h')
-rw-r--r-- | sql/sql_class.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 1cb516c0656..63923945dd5 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -2978,6 +2978,7 @@ public: added to the list of audit plugins which are currently in use. */ unsigned long audit_class_mask[MYSQL_AUDIT_CLASS_MASK_SIZE]; + int audit_plugin_version; #endif #if defined(ENABLED_DEBUG_SYNC) |