~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/myisam.test

  • Committer: Brian Aker
  • Date: 2009-08-18 07:20:29 UTC
  • mfrom: (1117.1.9 merge)
  • Revision ID: brian@gaz-20090818072029-s9ch5lcmltxwidn7
Merge of Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
494
494
 
495
495
# End of 4.0 tests
496
496
 
497
 
create table t1 (a int, b varchar(200), c text not null) checksum=1;
498
 
create table t2 (a int, b varchar(200), c text not null) checksum=0;
 
497
create table t1 (a int, b varchar(200), c text not null);
 
498
create table t2 (a int, b varchar(200), c text not null);
499
499
insert t1 values (1, "aaa", "bbb"), (NULL, "", "ccccc"), (0, NULL, "");
500
500
insert t2 select * from t1;
501
501
checksum table t1, t2, t3 quick;
665
665
#
666
666
# Bug#24607 - MyISAM pointer size determined incorrectly
667
667
#
668
 
CREATE TEMPORARY TABLE t1 (c1 TEXT) ENGINE=MyISAM AVG_ROW_LENGTH=70100 MAX_ROWS=4100100100;
 
668
CREATE TEMPORARY TABLE t1 (c1 TEXT) ENGINE=MyISAM;
669
669
--replace_column 5 X 6 X 7 X 9 X 10 X 11 X 12 X 13 X 14 X 16 X
670
670
SHOW TABLE STATUS LIKE 't1';
671
671
DROP TABLE t1;
859
859
 
860
860
 
861
861
#
862
 
# Bug#10056 - PACK_KEYS option take values greater than 1 while creating table
863
 
#
864
 
create temporary table t1 (c1 int) engine=myisam pack_keys=0;
865
 
create temporary table t2 (c1 int) engine=myisam pack_keys=1;
866
 
create temporary table t3 (c1 int) engine=myisam pack_keys=default;
867
 
--error 1064
868
 
create temporary table t4 (c1 int) engine=myisam pack_keys=2;
869
 
drop table t1, t2, t3;
870
 
 
871
 
 
872
 
#
873
862
# Bug#28476: force index on a disabled myisam index gives error 124
874
863
#
875
864
CREATE TEMPORARY TABLE t1(a INT, b INT, KEY inx (a), UNIQUE KEY uinx (b)) ENGINE=MyISAM;
1209
1198
CHECK TABLE t1;
1210
1199
CHECK TABLE t1 EXTENDED;
1211
1200
DROP TABLE t1;
1212
 
 
1213
 
#
1214
 
# Bug#29182 - MyISAMCHK reports wrong character set
1215
 
#
1216
 
#@TODO Disabling the below, as no myisamcheck program
1217
 
#CREATE TABLE t1 (
1218
 
#  c1 VARCHAR(10) NOT NULL,
1219
 
#  c2 CHAR(10) DEFAULT NULL,
1220
 
#  c3 VARCHAR(10) NOT NULL,
1221
 
#  KEY (c1),
1222
 
#  KEY (c2)
1223
 
#) ENGINE=MyISAM PACK_KEYS=0;
1224
 
#--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
1225
 
#--exec $DRIZZLECHK -d $MYSQLTEST_VARDIR/master-data/test/t1
1226
 
#DROP TABLE t1;
1227
 
#
1228
1201
--echo End of 5.1 tests
1229
1202