mariadb/mysql-test/main/lock_tables_lost_commit.result
2018-03-29 13:59:44 +03:00

15 lines
302 B
Text

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;