mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed failure in flush_read_lock.test
The failure was: mysqltest: At line 1737: query 'reap' failed: 1397: XAER_NOTA: Unknown XID The bug was in the test case int that it executed REAP XA COMMIT before the connection had truly disconnected
This commit is contained in:
@ -1698,9 +1698,11 @@ insert into t3_trans values (2);
|
||||
xa end 'test2';
|
||||
xa prepare 'test2';
|
||||
--echo # Disconnect temporary connection
|
||||
set debug_sync='thread_end SIGNAL detached';
|
||||
disconnect con_tmp;
|
||||
--echo # Switching to connection '$con_aux1'.
|
||||
connection $con_aux1;
|
||||
set debug_sync='now WAIT_FOR detached';
|
||||
flush tables with read lock;
|
||||
--echo # Switching to connection 'default'.
|
||||
connection default;
|
||||
|
Reference in New Issue
Block a user