mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
140cc614c9
+ Fix for Bug#43114 wait_until_count_sessions too restrictive, random PB failures + Removal of a lot of other weaknesses found + modifications according to review
23 lines
553 B
Text
23 lines
553 B
Text
DROP TABLE IF EXISTS t1;
|
|
# Establish connection con1 (user=root)
|
|
# Establish connection con2 (user=root)
|
|
# Switch to connection con1
|
|
CREATE TABLE t1 (a INT) ENGINE=innodb;
|
|
START TRANSACTION WITH CONSISTENT SNAPSHOT;
|
|
# Switch to connection con2
|
|
INSERT INTO t1 VALUES(1);
|
|
# Switch to connection con1
|
|
SELECT * FROM t1;
|
|
a
|
|
COMMIT;
|
|
DELETE FROM t1;
|
|
START TRANSACTION;
|
|
# Switch to connection con2
|
|
INSERT INTO t1 VALUES(1);
|
|
# Switch to connection con1
|
|
SELECT * FROM t1;
|
|
a
|
|
1
|
|
COMMIT;
|
|
# Switch to connection default + close connections con1 and con2
|
|
DROP TABLE t1;
|