mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
fix a race condition in the perfschema.transaction_nested_events
This commit is contained in:
@ -13,7 +13,7 @@ let $wait_timeout= 10;
|
|||||||
let $wait_condition=
|
let $wait_condition=
|
||||||
SELECT COUNT(*) > 0 FROM performance_schema.threads
|
SELECT COUNT(*) > 0 FROM performance_schema.threads
|
||||||
WHERE THREAD_ID = @con1_thread_id
|
WHERE THREAD_ID = @con1_thread_id
|
||||||
AND (PROCESSLIST_STATE = 'Sleep' OR PROCESSLIST_STATE IS NULL);
|
AND PROCESSLIST_COMMAND = 'Sleep';
|
||||||
--source include/wait_condition.inc
|
--source include/wait_condition.inc
|
||||||
if(!$success)
|
if(!$success)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user