mirror of
https://github.com/MariaDB/server.git
synced 2026-04-28 11:15:33 +02:00
fix sporadic failures of main.lock_sync
wait for all connections to disconnect before the cleanup
This commit is contained in:
parent
dba9d19249
commit
9dfef3fb41
2 changed files with 1 additions and 46 deletions
|
|
@ -26,28 +26,6 @@ ALWAYS
|
|||
connect con1, localhost, root,,;
|
||||
connect con2, localhost, root,,;
|
||||
connection default;
|
||||
drop table if exists t0, t1, t2, t3, t4, t5;
|
||||
drop view if exists v1, v2;
|
||||
drop procedure if exists p1;
|
||||
drop procedure if exists p2;
|
||||
drop procedure if exists p3;
|
||||
drop function if exists f1;
|
||||
drop function if exists f2;
|
||||
drop function if exists f3;
|
||||
drop function if exists f4;
|
||||
drop function if exists f5;
|
||||
drop function if exists f6;
|
||||
drop function if exists f7;
|
||||
drop function if exists f8;
|
||||
drop function if exists f9;
|
||||
drop function if exists f10;
|
||||
drop function if exists f11;
|
||||
drop function if exists f12;
|
||||
drop function if exists f13;
|
||||
drop function if exists f14;
|
||||
drop function if exists f15;
|
||||
drop function if exists f16;
|
||||
drop function if exists f17;
|
||||
create table t1 (i int primary key);
|
||||
insert into t1 values (1), (2), (3), (4), (5);
|
||||
create table t2 (j int primary key);
|
||||
|
|
|
|||
|
|
@ -44,30 +44,6 @@ select @@global.concurrent_insert;
|
|||
connect (con1, localhost, root,,);
|
||||
connect (con2, localhost, root,,);
|
||||
connection default;
|
||||
--disable_warnings
|
||||
drop table if exists t0, t1, t2, t3, t4, t5;
|
||||
drop view if exists v1, v2;
|
||||
drop procedure if exists p1;
|
||||
drop procedure if exists p2;
|
||||
drop procedure if exists p3;
|
||||
drop function if exists f1;
|
||||
drop function if exists f2;
|
||||
drop function if exists f3;
|
||||
drop function if exists f4;
|
||||
drop function if exists f5;
|
||||
drop function if exists f6;
|
||||
drop function if exists f7;
|
||||
drop function if exists f8;
|
||||
drop function if exists f9;
|
||||
drop function if exists f10;
|
||||
drop function if exists f11;
|
||||
drop function if exists f12;
|
||||
drop function if exists f13;
|
||||
drop function if exists f14;
|
||||
drop function if exists f15;
|
||||
drop function if exists f16;
|
||||
drop function if exists f17;
|
||||
--enable_warnings
|
||||
create table t1 (i int primary key);
|
||||
insert into t1 values (1), (2), (3), (4), (5);
|
||||
create table t2 (j int primary key);
|
||||
|
|
@ -1218,6 +1194,7 @@ COMMIT;
|
|||
--disconnect con1
|
||||
--disconnect con2
|
||||
--connection default
|
||||
--source include/wait_until_count_sessions.inc
|
||||
DROP VIEW v1;
|
||||
DROP FUNCTION IF EXISTS f;
|
||||
DROP TABLE t1, t2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue