mirror of
https://github.com/MariaDB/server.git
synced 2025-05-01 08:45:04 +03:00
+ 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
24 lines
553 B
Plaintext
24 lines
553 B
Plaintext
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;
|