diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2023-04-04 20:12:36 +0200 |
---|---|---|
committer | Julius Goryavsky <julius.goryavsky@mariadb.com> | 2023-04-04 20:12:36 +0200 |
commit | 06393cd8f81e6c9a01e9ae1c8783a7f6dac21fbd (patch) | |
tree | 87edb08d57292943f0a95cc110073f58c6eb5e48 | |
parent | 8f9bb82640578054feeb67a775410989d28626a3 (diff) | |
download | mariadb-git-06393cd8f81e6c9a01e9ae1c8783a7f6dac21fbd.tar.gz |
MDEV-29602 : Galera debug build crashes when the spider plugin is enabled
Spider system tables should be created so that wsrep_on=OFF.
Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
-rw-r--r-- | storage/spider/spd_table.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/spider/spd_table.cc b/storage/spider/spd_table.cc index 3dbc391b918..2ff97ce3577 100644 --- a/storage/spider/spd_table.cc +++ b/storage/spider/spd_table.cc @@ -10058,6 +10058,8 @@ void *spider_table_bg_sts_action( thd->mysys_var->current_cond = &thread->cond; thd->mysys_var->current_mutex = &thread->mutex; } + bool spd_wsrep_on = thd->variables.wsrep_on; + thd->variables.wsrep_on = false; while (spider_init_queries[i].length && !thd->killed && !thread->killed && thread->init_command) { @@ -10071,6 +10073,7 @@ void *spider_table_bg_sts_action( } ++i; } + thd->variables.wsrep_on = spd_wsrep_on; thd->mysys_var->current_cond = &thread->cond; thd->mysys_var->current_mutex = &thread->mutex; thd->client_capabilities -= CLIENT_MULTI_RESULTS; |