501
501
checksum table t1, t2, t3;
502
502
checksum table t1, t2, t3;
503
503
checksum table t1, t2, t3;
504
--replace_column 1 # 6 # 7 # 8 # 9 # 10 #
506
505
drop table t1,t2;
508
507
#@TODO Figure out what the heck the below is testing.
651
650
SELECT _id FROM t1;
652
651
DELETE FROM t1 WHERE _id < 8;
653
--replace_column 1 # 6 # 7 # 8 # 9 # 10 #
654
show table status LIKE 't1';
652
--replace_column 6 # 7 # 8 # 9 # 11 # 12 # 13 # 14 # 15 # 16 #
653
SHOW TABLE STATUS LIKE 't1';
656
655
ALTER TABLE t1 ENGINE=MYISAM;
658
--replace_column 1 # 6 # 7 # 8 # 9 # 10 #
659
show table status LIKE 't1';
657
--replace_column 6 # 7 # 8 # 9 # 11 # 12 # 13 # 14 # 15 # 16 #
658
SHOW TABLE STATUS LIKE 't1';
660
659
SELECT _id FROM t1;
667
666
# Bug#24607 - MyISAM pointer size determined incorrectly
669
668
CREATE TEMPORARY TABLE t1 (c1 TEXT) ENGINE=MyISAM;
670
--replace_column 1 # 6 # 7 # 8 # 9 # 10 #
671
show table status like 't1';
669
--replace_column 5 X 6 X 7 X 9 X 10 X 11 X 12 X 13 X 14 X 16 X
670
SHOW TABLE STATUS LIKE 't1';
879
878
# Bug#4692 - DISABLE/ENABLE KEYS waste a space
881
880
CREATE TEMPORARY TABLE t1 (c1 INT, c2 INT, UNIQUE INDEX (c1), INDEX (c2)) ENGINE=MYISAM;
882
--replace_column 1 # 6 # 7 # 8 # 9 # 10 #
883
show table status like 't1';
881
--replace_column 6 # 7 # 8 # 10 # 11 # 12 # 13 # 14 # 15 # 16 #
882
SHOW TABLE STATUS LIKE 't1';
884
883
INSERT INTO t1 VALUES (1,1);
885
--replace_column 1 # 6 # 7 # 8 # 9 # 10 #
886
show table status like 't1';
887
ALTER TABLE t1 DISABLE KEYS;
888
--replace_column 1 # 6 # 7 # 8 # 9 # 10 #
889
show table status like 't1';
890
ALTER TABLE t1 ENABLE KEYS;
891
--replace_column 1 # 6 # 7 # 8 # 9 # 10 #
892
show table status like 't1';
893
ALTER TABLE t1 DISABLE KEYS;
894
--replace_column 1 # 6 # 7 # 8 # 9 # 10 #
895
show table status like 't1';
896
ALTER TABLE t1 ENABLE KEYS;
897
--replace_column 1 # 6 # 7 # 8 # 9 # 10 #
898
show table status like 't1';
884
--replace_column 6 # 7 # 8 # 10 # 11 # 12 # 13 # 14 # 15 # 16 #
885
SHOW TABLE STATUS LIKE 't1';
886
ALTER TABLE t1 DISABLE KEYS;
887
--replace_column 6 # 7 # 8 # 10 # 11 # 12 # 13 # 14 # 15 # 16 #
888
SHOW TABLE STATUS LIKE 't1';
889
ALTER TABLE t1 ENABLE KEYS;
890
--replace_column 6 # 7 # 8 # 10 # 11 # 12 # 13 # 14 # 15 # 16 #
891
SHOW TABLE STATUS LIKE 't1';
892
ALTER TABLE t1 DISABLE KEYS;
893
--replace_column 6 # 7 # 8 # 10 # 11 # 12 # 13 # 14 # 15 # 16 #
894
SHOW TABLE STATUS LIKE 't1';
895
ALTER TABLE t1 ENABLE KEYS;
896
--replace_column 6 # 7 # 8 # 10 # 11 # 12 # 13 # 14 # 15 # 16 #
897
SHOW TABLE STATUS LIKE 't1';
899
898
#--exec ls -log var/master-data/test/t1.MYI
900
899
#--exec myisamchk -dvv var/master-data/test/t1.MYI
901
900
#--exec myisamchk -iev var/master-data/test/t1.MYI