mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
2d16452a31
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.
15 lines
445 B
Text
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.
|