diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2022-10-11 09:39:33 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2022-10-11 09:39:33 +0300 |
commit | d6db7071f6dc81a09d53ba1f0053afa499b83e9a (patch) | |
tree | 17eb4602486bc758e68fbded3323964a81f5d870 | |
parent | f6f9b7fc8936a0f8be5ee945b6e54b7371ed6d95 (diff) | |
download | mariadb-git-bb-10.4-MDEV-29602.tar.gz |
MDEV-29602 : Galera debug build crashes when the spider plugin is enabledbb-10.4-MDEV-29602
Spider system tables should be created so that wsrep_on=OFF.
-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 7a00061e3a2..a4d5c52f025 100644 --- a/storage/spider/spd_table.cc +++ b/storage/spider/spd_table.cc @@ -10046,6 +10046,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) { dispatch_command(COM_QUERY, thd, spider_init_queries[i].str, @@ -10058,6 +10060,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; |