summaryrefslogtreecommitdiff
path: root/mysql-test/main/lock_tables_lost_commit.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/lock_tables_lost_commit.result')
-rw-r--r--mysql-test/main/lock_tables_lost_commit.result15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/main/lock_tables_lost_commit.result b/mysql-test/main/lock_tables_lost_commit.result
new file mode 100644
index 00000000000..769e9734c7a
--- /dev/null
+++ b/mysql-test/main/lock_tables_lost_commit.result
@@ -0,0 +1,15 @@
+connect con1,localhost,root,,;
+connect con2,localhost,root,,;
+connection con1;
+DROP TABLE IF EXISTS t1;
+CREATE TABLE t1(a INT) ENGINE=innodb;
+LOCK TABLES t1 WRITE;
+INSERT INTO t1 VALUES(10);
+disconnect con1;
+connection con2;
+SELECT * FROM t1;
+a
+10
+DROP TABLE t1;
+connection default;
+disconnect con2;