Skip to content

Commit

Permalink
Follow-up for MDEV-6720 (enable connection log in mysqltest by default)
Browse files Browse the repository at this point in the history
Some rdiff files in storage_engine test suite need to be updated accordingly
  • Loading branch information
Elena Stepanova committed Jun 19, 2016
1 parent 5b008d4 commit cc3190e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--- suite/storage_engine/lock_concurrent.result 2012-06-24 23:55:19.539380000 +0400
+++ suite/storage_engine/lock_concurrent.reject 2012-07-15 17:50:21.279222746 +0400
@@ -3,10 +3,19 @@
LOCK TABLES t1 WRITE CONCURRENT, t1 AS t2 READ;
@@ -4,6 +4,14 @@
connect con1,localhost,root,,;
SET lock_wait_timeout = 1;
LOCK TABLES t1 READ LOCAL;
+ERROR HY000: Lock wait timeout exceeded; try restarting transaction
Expand All @@ -13,8 +13,11 @@
+# Also, this problem may cause a chain effect (more errors of different kinds in the test).
+# -------------------------------------------
UNLOCK TABLES;
connection default;
UNLOCK TABLES;
@@ -11,6 +19,7 @@
LOCK TABLES t1 READ LOCAL;
connection default;
LOCK TABLES t1 WRITE CONCURRENT, t1 AS t2 READ;
+ERROR HY000: Lock wait timeout exceeded; try restarting transaction
UNLOCK TABLES;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--- suite/storage_engine/lock_concurrent.result 2012-06-24 23:55:19.539380000 +0400
+++ suite/storage_engine/lock_concurrent.reject 2012-07-15 17:50:21.279222746 +0400
@@ -3,10 +3,19 @@
LOCK TABLES t1 WRITE CONCURRENT, t1 AS t2 READ;
@@ -4,6 +4,14 @@
connect con1,localhost,root,,;
SET lock_wait_timeout = 1;
LOCK TABLES t1 READ LOCAL;
+ERROR HY000: Lock wait timeout exceeded; try restarting transaction
Expand All @@ -13,10 +13,13 @@
+# Also, this problem may cause a chain effect (more errors of different kinds in the test).
+# -------------------------------------------
UNLOCK TABLES;
connection default;
UNLOCK TABLES;
@@ -11,6 +19,7 @@
LOCK TABLES t1 READ LOCAL;
connection default;
LOCK TABLES t1 WRITE CONCURRENT, t1 AS t2 READ;
+ERROR HY000: Lock wait timeout exceeded; try restarting transaction
UNLOCK TABLES;
connection con1;
UNLOCK TABLES;
DROP TABLE t1;

0 comments on commit cc3190e

Please sign in to comment.