summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorDaniele Sciascia <daniele.sciascia@galeracluster.com>2022-03-10 13:59:13 +0100
committerJan Lindström <jan.lindstrom@mariadb.com>2022-04-20 10:41:19 +0300
commit11e5aba792b74c000d579240067992f0f274253d (patch)
tree8989343bb2d9b112dac34dba09035024ed4ece5d /sql/sql_parse.cc
parent89b1172373ff458ecb0032cb3b04aee6040a177b (diff)
downloadmariadb-git-11e5aba792b74c000d579240067992f0f274253d.tar.gz
MDEV-26575 Crash on shutdown after starting an XA transaction
Disallow XA when Galera library is loaded. Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index e3efa2d051c..5471861c092 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -6047,7 +6047,7 @@ mysql_execute_command(THD *thd)
}
case SQLCOM_XA_START:
#ifdef WITH_WSREP
- if (WSREP(thd))
+ if (WSREP_ON)
{
my_error(ER_NOT_SUPPORTED_YET, MYF(0),
"XA transactions with Galera replication");