1
0
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:
Monty
2020-05-22 19:10:56 +03:00
parent c779ef26b6
commit fc8359f0ac
2 changed files with 4 additions and 0 deletions

View File

@ -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;