mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MENT-2038 Assert WSREP(thd) fails in wsrep_restore_kill_after_commit
Fix wrong assertion: function wsrep_restore_kill_after_commit() asserts `WSREP(thd)`, however for the caller (wsrep_after_statement()) it is enough that the THD has an active transaction. Fixed the assertion accordingly. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
This commit is contained in:
committed by
Julius Goryavsky
parent
479a5832f0
commit
c43db43a7c
7
mysql-test/suite/galera_sr/r/MENT-2038.result
Normal file
7
mysql-test/suite/galera_sr/r/MENT-2038.result
Normal file
@@ -0,0 +1,7 @@
|
||||
connection node_2;
|
||||
connection node_1;
|
||||
SET SESSION wsrep_on=OFF;
|
||||
BEGIN;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
SET SESSION wsrep_on=ON;
|
Reference in New Issue
Block a user