mariadb/mysql-test/suite/wsrep/t/trans.test
mkaruza 2d16452a31 MDEV-22021: Galera database could get inconsistent with rollback to savepoint
When binlog is disabled, WSREP will not behave correctly when
SAVEPOINT ROLLBACK is executed since we don't register handlers for such case.
Fixed by registering WSREP handlerton for SAVEPOINT related commands.
2020-03-31 09:59:37 +03:00

15 lines
445 B
Text

--source include/have_wsrep.inc
--source include/have_innodb.inc
--echo #
--echo # MDEV-4222 : Assertion `( ((global_system_variables.wsrep_on) &&
--echo # (thd && thd->variables.wsrep_on)) && srep_emulate_bin_log)
--echo # || mysql_bin_log .is_open()' fails on SAVEPOINT with
--echo # disabled wsrep_provider
--echo #
START TRANSACTION WITH CONSISTENT SNAPSHOT;
--error 1030
SAVEPOINT A;
--echo End of test.