mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-18661 loading the audit plugin causes performance regression.
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.
This commit is contained in:
@ -60,6 +60,7 @@ static inline void mysql_audit_notify(THD *thd, uint event_class,
|
||||
#define mysql_audit_connection_enabled() 0
|
||||
#define mysql_audit_table_enabled() 0
|
||||
#endif
|
||||
extern my_bool mysql_audit_release_required(THD *thd);
|
||||
extern void mysql_audit_release(THD *thd);
|
||||
|
||||
#define MAX_USER_HOST_SIZE 512
|
||||
|
Reference in New Issue
Block a user