mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for bug #57422 "rpl_row_sp003 sporadically fails under
heavy load". rpl_row_sp003.test has sporadically failed when run on machine under heavy load or on slow hardware. This patch fixes races in the test which were causing these failures and also removes unnecessary 100 second wait from it.
This commit is contained in:
@ -26,6 +26,11 @@ CALL test.p2();
|
||||
SELECT release_lock("test");
|
||||
release_lock("test")
|
||||
1
|
||||
get_lock("test", 100)
|
||||
1
|
||||
SELECT release_lock("test");
|
||||
release_lock("test")
|
||||
1
|
||||
SELECT * FROM test.t1;
|
||||
a
|
||||
5
|
||||
@ -37,7 +42,10 @@ CREATE TABLE test.t1(a INT,PRIMARY KEY(a))ENGINE=INNODB;
|
||||
CALL test.p2();
|
||||
CALL test.p1();
|
||||
get_lock("test", 100)
|
||||
0
|
||||
1
|
||||
SELECT release_lock("test");
|
||||
release_lock("test")
|
||||
1
|
||||
SELECT * FROM test.t1;
|
||||
a
|
||||
8
|
||||
|
Reference in New Issue
Block a user