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

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.
This commit is contained in:
mkaruza
2020-03-26 09:45:03 +01:00
committed by Jan Lindström
parent 5001487632
commit 2d16452a31
10 changed files with 133 additions and 40 deletions

View File

@ -6,4 +6,5 @@
#
START TRANSACTION WITH CONSISTENT SNAPSHOT;
SAVEPOINT A;
ERROR HY000: Got error 1 "Operation not permitted" from storage engine binlog
End of test.