mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MENT-1047 Assertion `active() == false' failed with "XA START.."
Galera replication does not support XA transactions yet. Reject any attempt to `XA START` a transaction, if Galera is enabled. Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
This commit is contained in:
committed by
Jan Lindström
parent
b79b3ff655
commit
04741dc736
@ -5987,6 +5987,14 @@ mysql_execute_command(THD *thd)
|
||||
break;
|
||||
}
|
||||
case SQLCOM_XA_START:
|
||||
#ifdef WITH_WSREP
|
||||
if (WSREP(thd))
|
||||
{
|
||||
my_error(ER_NOT_SUPPORTED_YET, MYF(0),
|
||||
"XA transactions with Galera replication");
|
||||
break;
|
||||
}
|
||||
#endif /* WITH_WSREP */
|
||||
if (trans_xa_start(thd))
|
||||
goto error;
|
||||
my_ok(thd);
|
||||
|
Reference in New Issue
Block a user