19
19
Table Op Msg_type Msg_text
20
20
test.t1 check status OK
22
Table Op Msg_type Msg_text
23
test.t1 repair note The storage engine for the table doesn't support repair
24
21
delete from t1 where (a mod 2) = 1;
26
23
Table Op Msg_type Msg_text
27
24
test.t1 check status OK
29
Table Op Msg_type Msg_text
30
test.t1 repair note The storage engine for the table doesn't support repair
32
Table Op Msg_type Msg_text
33
test.t1 check status OK
35
26
create table t1 (a int not null auto_increment, b int not null, primary key (a), index(b));
36
27
insert into t1 (b) values (1),(2),(2),(2),(2);
685
`_id` int NOT NULL default '0',
689
`loverlap` int default NULL,
690
`roverlap` int default NULL,
691
`lneighbor_id` int default NULL,
692
`rneighbor_id` int default NULL,
693
`length_` int default NULL,
696
`_obj_class` text NOT NULL,
698
UNIQUE KEY `sequence_name_index` (`name`(50)),
701
INSERT INTO t1 VALUES
702
(1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'sample1',''),
703
(2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'sample2',''),
704
(3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'sample3',''),
705
(4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'sample4',''),
706
(5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'sample5',''),
707
(6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'sample6',''),
708
(7,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'sample7',''),
709
(8,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'sample8',''),
710
(9,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'sample9','');
722
DELETE FROM t1 WHERE _id < 8;
723
SHOW TABLE STATUS LIKE 't1';
724
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
725
t1 MyISAM 0 Dynamic 2 # # # # 168 # # # # # #
726
CHECK TABLE t1 EXTENDED;
727
Table Op Msg_type Msg_text
728
test.t1 check status OK
729
REPAIR TABLE t1 QUICK;
730
Table Op Msg_type Msg_text
731
test.t1 repair status OK
732
CHECK TABLE t1 EXTENDED;
733
Table Op Msg_type Msg_text
734
test.t1 check status OK
735
SHOW TABLE STATUS LIKE 't1';
736
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
737
t1 MyISAM 0 Dynamic 2 # # # # 168 # # # # # #
743
672
SET GLOBAL myisam_repair_threads=1;
744
673
SHOW VARIABLES LIKE 'myisam_repair%';
745
674
Variable_name Value