mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed main.create-big failure
After MDEV-17772 table existence check is performed much earlier, so create_table_select_before_check_if_exists debug sync point is not reachable when table exists. Moved debug sync point to appropriate place.
This commit is contained in:
@ -395,11 +395,11 @@ select @a;
|
||||
drop table t1;
|
||||
|
||||
# Concurrent DROP TABLE
|
||||
set debug_sync='create_table_select_before_check_if_exists SIGNAL parked WAIT_FOR go';
|
||||
--send create table if not exists t1 select 1 as i;
|
||||
set debug_sync='create_table_before_check_if_exists SIGNAL parked WAIT_FOR go';
|
||||
--send create table if not exists t1 select 1 as i
|
||||
connection addconroot1;
|
||||
set debug_sync='now WAIT_FOR parked';
|
||||
--send drop table t1;
|
||||
--send drop table t1
|
||||
connection addconroot2;
|
||||
# Wait until the above DROP TABLE is blocked due to CREATE TABLE
|
||||
let $wait_condition=
|
||||
@ -417,11 +417,11 @@ connection default;
|
||||
# Concurrent CREATE TRIGGER
|
||||
create table t1 (i int);
|
||||
set @a:=0;
|
||||
set debug_sync='create_table_select_before_check_if_exists SIGNAL parked WAIT_FOR go';
|
||||
--send create table if not exists t1 select 1 as i;
|
||||
set debug_sync='create_table_before_check_if_exists SIGNAL parked WAIT_FOR go';
|
||||
--send create table if not exists t1 select 1 as i
|
||||
connection addconroot1;
|
||||
set debug_sync='now WAIT_FOR parked';
|
||||
--send create trigger t1_bi before insert on t1 for each row set @a:=1;
|
||||
--send create trigger t1_bi before insert on t1 for each row set @a:=1
|
||||
connection addconroot2;
|
||||
# Wait until the above DROP TABLE is blocked due to CREATE TABLE
|
||||
let $wait_condition=
|
||||
|
Reference in New Issue
Block a user