summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/sql_audit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_audit.cc b/sql/sql_audit.cc
index 6ccdcefe8eb..bf672b6ea48 100644
--- a/sql/sql_audit.cc
+++ b/sql/sql_audit.cc
@@ -353,7 +353,7 @@ int initialize_audit_plugin(st_plugin_int *plugin)
return 1;
}
- if (plugin->plugin->init && plugin->plugin->init(plugin))
+ if (plugin->plugin->init && plugin->plugin->init(NULL))
{
sql_print_error("Plugin '%s' init function returned error.",
plugin->name.str);