2009-03-03 21:34:18 +01:00
|
|
|
|
|
|
|
# Save the initial number of concurrent sessions
|
|
|
|
--source include/count_sessions.inc
|
|
|
|
|
2001-03-25 01:02:26 +02:00
|
|
|
connect (con1,localhost,root,,);
|
|
|
|
connect (con2,localhost,root,,);
|
2001-01-19 22:40:16 -07:00
|
|
|
connection con1;
|
|
|
|
dirty_close con1;
|
|
|
|
connection con2;
|
2003-01-06 01:48:59 +02:00
|
|
|
|
|
|
|
--disable_warnings
|
2009-03-03 21:34:18 +01:00
|
|
|
DROP TABLE IF EXISTS t1;
|
2003-01-06 01:48:59 +02:00
|
|
|
--enable_warnings
|
|
|
|
|
2009-03-03 21:34:18 +01:00
|
|
|
CREATE TABLE t1 (n INT);
|
|
|
|
INSERT INTO t1 VALUES (1),(2),(3);
|
|
|
|
SELECT * FROM t1;
|
|
|
|
DROP TABLE t1;
|
|
|
|
|
|
|
|
connection default;
|
|
|
|
disconnect con2;
|
2005-07-28 03:22:47 +03:00
|
|
|
|
|
|
|
# End of 4.1 tests
|
2009-03-03 21:34:18 +01:00
|
|
|
|
|
|
|
# Wait till all disconnects are completed
|
|
|
|
--source include/wait_until_count_sessions.inc
|
|
|
|
|