summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2021-05-17 12:34:50 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2021-05-17 12:34:50 +0400
commit5bf13e3f5863e10b4dedec23e8394340673e77c6 (patch)
tree2090d1adb382a6ae88c4cdbcd5639bd558580b02
parentd0a2f5ebca7fd6a3d64bd1cb329bddb52645888e (diff)
downloadmariadb-git-10.4-hf.tar.gz
MENT-1196 Galera startup log shows mysql.server_audit_filters data load error when enable server audit log through configuration file.10.4-hf
For the plugin thread during the server start the wsrep_on should be 0.
-rw-r--r--sql/sql_prepare.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc
index c07a8b9bf06..b1bc60813a4 100644
--- a/sql/sql_prepare.cc
+++ b/sql/sql_prepare.cc
@@ -6094,6 +6094,7 @@ extern "C" int execute_sql_command(const char *command,
new_thd->store_globals();
new_thd->security_ctx->skip_grants();
new_thd->query_cache_is_applicable= 0;
+ new_thd->variables.wsrep_on= 0;
bzero((char*) &new_thd->net, sizeof(new_thd->net));
thd= new_thd;
}