mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -237,11 +237,11 @@ select @a;
|
||||
@a
|
||||
0
|
||||
drop table t1;
|
||||
set debug_sync='create_table_select_before_check_if_exists SIGNAL parked WAIT_FOR go';
|
||||
create table if not exists t1 select 1 as i;;
|
||||
set debug_sync='create_table_before_check_if_exists SIGNAL parked WAIT_FOR go';
|
||||
create table if not exists t1 select 1 as i;
|
||||
connection addconroot1;
|
||||
set debug_sync='now WAIT_FOR parked';
|
||||
drop table t1;;
|
||||
drop table t1;
|
||||
connection addconroot2;
|
||||
set debug_sync='now SIGNAL go';
|
||||
connection default;
|
||||
@ -249,11 +249,11 @@ connection addconroot1;
|
||||
connection default;
|
||||
create table t1 (i int);
|
||||
set @a:=0;
|
||||
set debug_sync='create_table_select_before_check_if_exists SIGNAL parked WAIT_FOR go';
|
||||
create table if not exists t1 select 1 as i;;
|
||||
set debug_sync='create_table_before_check_if_exists SIGNAL parked WAIT_FOR go';
|
||||
create table if not exists t1 select 1 as i;
|
||||
connection addconroot1;
|
||||
set debug_sync='now WAIT_FOR parked';
|
||||
create trigger t1_bi before insert on t1 for each row set @a:=1;;
|
||||
create trigger t1_bi before insert on t1 for each row set @a:=1;
|
||||
connection addconroot2;
|
||||
set debug_sync='now SIGNAL go';
|
||||
connection default;
|
||||
|
Reference in New Issue
Block a user