1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

fix a race condition in the perfschema.transaction_nested_events

This commit is contained in:
Sergei Golubchik
2020-03-13 20:33:20 +01:00
parent 92c05a391a
commit c4f3e37b0c

View File

@ -13,7 +13,7 @@ let $wait_timeout= 10;
let $wait_condition=
SELECT COUNT(*) > 0 FROM performance_schema.threads
WHERE THREAD_ID = @con1_thread_id
AND (PROCESSLIST_STATE = 'Sleep' OR PROCESSLIST_STATE IS NULL);
AND PROCESSLIST_COMMAND = 'Sleep';
--source include/wait_condition.inc
if(!$success)
{