You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test for MDEV-30364 moved to main.mdl_sync, main.debug_sync is intended
to test debug sync facility itself.
Using ER_LOCK_WAIT_TIMEOUT instead of ER_QUERY_INTERRUPTED allows less
thread synchronization.
Originally fixed by da5cffe.
Copy file name to clipboardExpand all lines: mysql-test/main/debug_sync.test
-39Lines changed: 0 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -448,42 +448,3 @@ SHOW VARIABLES LIKE 'DEBUG_SYNC';
448
448
# Otherwise signal would confuse the next test.
449
449
#
450
450
SET DEBUG_SYNC= 'RESET';
451
-
452
-
--echo #
453
-
--echo # MDEV-30364 Assertion MDL_EXCLUSIVE on DISCARD TABLESPACE in LOCK TABLE mode
454
-
--echo #
455
-
create table t (c int) engine=innodb;
456
-
--connect con1,localhost,root
457
-
set debug_sync='get_schema_column SIGNAL waiting WAIT_FOR go';
458
-
send select column_name from information_schema.columns
459
-
where table_schema='test' and table_name='t';
460
-
461
-
--connection default
462
-
set debug_sync= 'now WAIT_FOR waiting';
463
-
let $connid=`select connection_id()`;
464
-
lock table t write;
465
-
send alter table t discard tablespace;
466
-
467
-
--connect con2,localhost,root
468
-
--let $wait_condition= SELECT COUNT(*)=1 FROM information_schema.processlist WHERE id=$connid AND state='Waiting for table metadata lock' AND INFO='alter table t discard tablespace'
0 commit comments