summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/sql_audit.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_audit.cc b/sql/sql_audit.cc
index ed175ae4865..14e876ef749 100644
--- a/sql/sql_audit.cc
+++ b/sql/sql_audit.cc
@@ -113,8 +113,6 @@ void mysql_audit_acquire_plugins(THD *thd, ulong *event_class_mask)
{
DBUG_ENTER("mysql_audit_acquire_plugins");
DBUG_ASSERT(thd);
- DBUG_ASSERT(!check_audit_mask(mysql_global_audit_mask, event_class_mask));
-
if (check_audit_mask(thd->audit_class_mask, event_class_mask))
{
plugin_foreach(thd, acquire_plugins, MYSQL_AUDIT_PLUGIN, event_class_mask);