mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
15 lines
622 B
Text
15 lines
622 B
Text
DROP TABLE IF EXISTS t1;
|
|
CREATE TABLE t1 (
|
|
id INT PRIMARY KEY,
|
|
a VARCHAR(100),
|
|
INDEX(a)
|
|
) ENGINE=MyISAM;
|
|
ALTER TABLE t1 DISABLE KEYS;
|
|
SET debug_sync= 'myisam_after_repair_by_sort SIGNAL waiting WAIT_FOR go';
|
|
ALTER TABLE t1 ENABLE KEYS;
|
|
SET debug_sync= 'now WAIT_FOR waiting';
|
|
SET debug_sync= 'now SIGNAL go';
|
|
SHOW TABLE STATUS LIKE 't1';
|
|
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
|
|
t1 MyISAM 10 Dynamic 100000 27 # # # 0 NULL # # # latin1_swedish_ci NULL
|
|
DROP TABLE t1;
|