mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.5' into 10.6
This commit is contained in:
@ -15,6 +15,8 @@
|
||||
let $mdl= LOCK_MODE, LOCK_TYPE, TABLE_SCHEMA, TABLE_NAME FROM information_schema.metadata_lock_info
|
||||
WHERE TABLE_NAME NOT LIKE 'innodb_%_stats';
|
||||
|
||||
--source ../suite/innodb/include/wait_all_purged.inc
|
||||
|
||||
BACKUP STAGE START;
|
||||
eval SELECT $mdl;
|
||||
BACKUP STAGE FLUSH;
|
||||
@ -39,7 +41,8 @@ connection default;
|
||||
--echo # testing if BACKUP STAGE FLUSH causes deadlocks with ALTER TABLE
|
||||
--echo #
|
||||
|
||||
create table t1 (a int) engine=innodb;
|
||||
create table t1 (a int) stats_persistent= 0, engine=innodb;
|
||||
--source ../suite/innodb/include/wait_all_purged.inc
|
||||
|
||||
connection con2;
|
||||
backup stage start;
|
||||
@ -129,7 +132,8 @@ drop table t1;
|
||||
--echo # testing if BACKUP STAGE FLUSH causes deadlocks with DROP TABLE
|
||||
--echo #
|
||||
|
||||
create table t1 (a int) engine=innodb;
|
||||
create table t1 (a int)stats_persistent=0, engine=innodb;
|
||||
--source ../suite/innodb/include/wait_all_purged.inc
|
||||
start transaction;
|
||||
# Acquires MDL lock
|
||||
insert into t1 values (1);
|
||||
@ -165,6 +169,7 @@ connection default;
|
||||
--echo #
|
||||
|
||||
create table t1 (a int) engine=innodb;
|
||||
--source ../suite/innodb/include/wait_all_purged.inc
|
||||
backup stage start;
|
||||
backup stage block_ddl;
|
||||
connection con1;
|
||||
|
Reference in New Issue
Block a user