mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +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
27 lines
511 B
Text
27 lines
511 B
Text
|
|
# Save the initial number of concurrent sessions
|
|
--source include/count_sessions.inc
|
|
|
|
connect (con1,localhost,root,,);
|
|
connect (con2,localhost,root,,);
|
|
connection con1;
|
|
dirty_close con1;
|
|
connection con2;
|
|
|
|
--disable_warnings
|
|
DROP TABLE IF EXISTS t1;
|
|
--enable_warnings
|
|
|
|
CREATE TABLE t1 (n INT);
|
|
INSERT INTO t1 VALUES (1),(2),(3);
|
|
SELECT * FROM t1;
|
|
DROP TABLE t1;
|
|
|
|
connection default;
|
|
disconnect con2;
|
|
|
|
# End of 4.1 tests
|
|
|
|
# Wait till all disconnects are completed
|
|
--source include/wait_until_count_sessions.inc
|
|
|