File: lock_concurrent.rdiff

package info (click to toggle)
mariadb-10.0 10.0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 416,512 kB
  • sloc: cpp: 1,351,103; ansic: 803,086; perl: 59,621; pascal: 32,136; sh: 25,156; yacc: 14,897; xml: 5,194; sql: 4,651; cs: 4,647; makefile: 4,113; python: 2,526; ruby: 2,496; lex: 1,427; asm: 295; awk: 54; php: 22; sed: 16
file content (22 lines) | stat: -rw-r--r-- 1,167 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- 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;
 SET lock_wait_timeout = 1;
 LOCK TABLES t1 READ LOCAL;
+ERROR HY000: Lock wait timeout exceeded; try restarting transaction
+# ------------ UNEXPECTED RESULT ------------
+# The statement|command finished with ER_LOCK_WAIT_TIMEOUT.
+# LOCK .. WRITE CONCURRENT or the mix could be unsupported|malfunctioning, or the problem was caused by previous errors. 
+# You can change the engine code, or create an rdiff, or disable the test by adding it to disabled.def.
+# Further in this test, the message might sometimes be suppressed; a part of the test might be skipped.
+# Also, this problem may cause a chain effect (more errors of different kinds in the test).
+# -------------------------------------------
 UNLOCK TABLES;
 UNLOCK TABLES;
 LOCK TABLES t1 READ LOCAL;
 LOCK TABLES t1 WRITE CONCURRENT, t1 AS t2 READ;
+ERROR HY000: Lock wait timeout exceeded; try restarting transaction
 UNLOCK TABLES;
 UNLOCK TABLES;
 DROP TABLE t1;