1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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>
This commit is contained in:
Daniele Sciascia
2022-03-10 13:59:13 +01:00
committed by Jan Lindström
parent 89b1172373
commit 11e5aba792
3 changed files with 28 additions and 1 deletions

View File

@ -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");