diff options
author | Sergey Vojtovich <svoj@sun.com> | 2010-01-19 17:30:55 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@sun.com> | 2010-01-19 17:30:55 +0400 |
commit | 667b5944a7a28dcefdd725d360b6631bd74aedc8 (patch) | |
tree | 667b5c726df9ea2c6435bb9a13fad521165d32ec /sql/sql_class.h | |
parent | a6165accb3279fe64b672fa0eeaa30ef12cf6557 (diff) | |
parent | 9130563708cbdbb488e5361af79eb9f4b9dab0ea (diff) | |
download | mariadb-git-667b5944a7a28dcefdd725d360b6631bd74aedc8.tar.gz |
Merge backport of WL#3771 with mysql-next-mr.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index b3cc1fc68c0..f1437f520f5 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -23,6 +23,7 @@ #pragma interface /* gcc class implementation */ #endif +#include <mysql/plugin_audit.h> #include "log.h" #include "rpl_tblmap.h" @@ -1784,6 +1785,20 @@ public: partition_info *work_part_info; #endif +#ifndef EMBEDDED_LIBRARY + /** + Array of active audit plugins which have been used by this THD. + This list is later iterated to invoke release_thd() on those + plugins. + */ + DYNAMIC_ARRAY audit_class_plugins; + /** + Array of bits indicating which audit classes have already been + added to the list of audit plugins which are currently in use. + */ + unsigned long audit_class_mask[MYSQL_AUDIT_CLASS_MASK_SIZE]; +#endif + #if defined(ENABLED_DEBUG_SYNC) /* Debug Sync facility. See debug_sync.cc. */ struct st_debug_sync_control *debug_sync_control; |