remove a sleep from the test
This commit is contained in:
parent
821db3801d
commit
1035a16a73
@ -18,7 +18,6 @@ ENGINE = MYISAM
|
||||
PARTITION p1 VALUES LESS THAN (20),
|
||||
PARTITION p2 VALUES LESS THAN (100),
|
||||
PARTITION p3 VALUES LESS THAN MAXVALUE ) */;
|
||||
SET SESSION debug_dbug= "+d,sleep_before_create_table_no_lock";
|
||||
SET DEBUG_SYNC= 'alter_table_before_create_table_no_lock SIGNAL removing_partitioning WAIT_FOR waiting_for_alter';
|
||||
SET DEBUG_SYNC= 'alter_table_before_main_binlog SIGNAL partitioning_removed';
|
||||
ALTER TABLE t1 REMOVE PARTITIONING;
|
||||
@ -28,7 +27,6 @@ SET DEBUG_SYNC= 'mdl_acquire_lock_wait SIGNAL waiting_for_alter';
|
||||
SET DEBUG_SYNC= 'rm_table_no_locks_before_delete_table WAIT_FOR partitioning_removed';
|
||||
DROP TABLE IF EXISTS t1;
|
||||
# Con 1
|
||||
SET SESSION debug_dbug= "-d,sleep_before_create_table_no_lock";
|
||||
SET DEBUG_SYNC= 'RESET';
|
||||
SET DEBUG_SYNC= 'RESET';
|
||||
#
|
||||
|
@ -30,7 +30,6 @@ ENGINE = MYISAM
|
||||
PARTITION p1 VALUES LESS THAN (20),
|
||||
PARTITION p2 VALUES LESS THAN (100),
|
||||
PARTITION p3 VALUES LESS THAN MAXVALUE ) */;
|
||||
SET SESSION debug_dbug= "+d,sleep_before_create_table_no_lock";
|
||||
SET DEBUG_SYNC= 'alter_table_before_create_table_no_lock SIGNAL removing_partitioning WAIT_FOR waiting_for_alter';
|
||||
SET DEBUG_SYNC= 'alter_table_before_main_binlog SIGNAL partitioning_removed';
|
||||
--send ALTER TABLE t1 REMOVE PARTITIONING
|
||||
@ -43,7 +42,6 @@ DROP TABLE IF EXISTS t1;
|
||||
--echo # Con 1
|
||||
connection con1;
|
||||
--reap
|
||||
SET SESSION debug_dbug= "-d,sleep_before_create_table_no_lock";
|
||||
connection default;
|
||||
SET DEBUG_SYNC= 'RESET';
|
||||
connection con1;
|
||||
|
@ -6985,8 +6985,6 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
|
||||
create_info->data_file_name=create_info->index_file_name=0;
|
||||
|
||||
DEBUG_SYNC(thd, "alter_table_before_create_table_no_lock");
|
||||
DBUG_EXECUTE_IF("sleep_before_create_table_no_lock",
|
||||
my_sleep(100000););
|
||||
/*
|
||||
Create a table with a temporary name.
|
||||
With C_ALTER_TABLE_FRM_ONLY this creates a .frm file only and
|
||||
|
Loading…
x
Reference in New Issue
Block a user