2015-08-17 12:44:52 +02:00
|
|
|
CREATE TABLE t1 (x INT NOT NULL UNIQUE KEY) ENGINE=InnoDB;
|
|
|
|
INSERT INTO t1 VALUES(5);
|
|
|
|
SET GLOBAL innodb_log_checkpoint_now=TRUE;
|
|
|
|
SET DEBUG_SYNC='commit_cache_rebuild SIGNAL ready WAIT_FOR finish';
|
2019-03-14 15:28:20 +01:00
|
|
|
ALTER TABLE t1 FORCE;;
|
2018-05-14 16:01:38 +02:00
|
|
|
connect con1,localhost,root,,;
|
2015-08-17 12:44:52 +02:00
|
|
|
SET DEBUG_SYNC='now WAIT_FOR ready';
|
|
|
|
SET GLOBAL innodb_log_checkpoint_now=TRUE;
|
|
|
|
SET DEBUG_SYNC='now SIGNAL finish';
|
2018-05-14 16:01:38 +02:00
|
|
|
disconnect con1;
|
|
|
|
connection default;
|
2015-08-17 12:44:52 +02:00
|
|
|
SHOW CREATE TABLE t1;
|
|
|
|
Table Create Table
|
|
|
|
t1 CREATE TABLE `t1` (
|
|
|
|
`x` int(11) NOT NULL,
|
|
|
|
UNIQUE KEY `x` (`x`)
|
2022-09-02 15:32:14 +02:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
2015-08-17 12:44:52 +02:00
|
|
|
DROP TABLE t1;
|
|
|
|
SET DEBUG_SYNC='RESET';
|