summaryrefslogtreecommitdiff
path: root/mysql-test/suite/rpl/r/rpl_row_sp003.result
diff options
context:
space:
mode:
authorDmitry Lenev <Dmitry.Lenev@oracle.com>2010-10-13 15:21:45 +0400
committerDmitry Lenev <Dmitry.Lenev@oracle.com>2010-10-13 15:21:45 +0400
commitec505e95708ab1bacd0c6afa8e83e411dbe4b0f7 (patch)
treef9b1697da15a98cf44f656f6f707b8cb57f18e9d /mysql-test/suite/rpl/r/rpl_row_sp003.result
parenteb882fe41b96bd2736dafe86a59b7f7a823ba07f (diff)
downloadmariadb-git-ec505e95708ab1bacd0c6afa8e83e411dbe4b0f7.tar.gz
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.
Diffstat (limited to 'mysql-test/suite/rpl/r/rpl_row_sp003.result')
-rw-r--r--mysql-test/suite/rpl/r/rpl_row_sp003.result10
1 files changed, 9 insertions, 1 deletions
diff --git a/mysql-test/suite/rpl/r/rpl_row_sp003.result b/mysql-test/suite/rpl/r/rpl_row_sp003.result
index df3e2a7ceed..c3e2dc57740 100644
--- a/mysql-test/suite/rpl/r/rpl_row_sp003.result
+++ b/mysql-test/suite/rpl/r/rpl_row_sp003.result
@@ -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