~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/myisam.test

  • Committer: Brian Aker
  • Date: 2009-12-03 01:17:53 UTC
  • mto: (1237.3.2 push)
  • mto: This revision was merged to the branch mainline in revision 1238.
  • Revision ID: brian@gaz-20091203011753-159h2no5m5c5dt9b
Small cleanups, did in MERGE table only engine flag.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 #
505
 
show table status;
 
504
#show table status;
506
505
drop table t1,t2;
507
506
 
508
507
#@TODO Figure out what the heck the below is testing.
650
649
#
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';
655
654
CHECK TABLE t1;
656
655
ALTER TABLE t1 ENGINE=MYISAM;
657
656
CHECK TABLE t1;
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;
661
660
DROP TABLE t1;
662
661
#
667
666
# Bug#24607 - MyISAM pointer size determined incorrectly
668
667
#
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';
672
671
DROP TABLE t1;
673
672
 
674
673
#
879
878
# Bug#4692 - DISABLE/ENABLE KEYS waste a space
880
879
#
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