~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to mysql-test/t/myisam.test

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
# Initialise
6
6
--disable_warnings
7
 
drop table if exists t1,t2;
 
7
drop table if exists t1,t2,t3;
8
8
--enable_warnings
9
9
SET SQL_WARNINGS=1;
10
10
 
1171
1171
 
1172
1172
DROP TABLE t1, t2;
1173
1173
 
 
1174
#
 
1175
# Test of BUG#35570 CHECKSUM TABLE unreliable if LINESTRING field
 
1176
# (same content / differen checksum)
 
1177
#
 
1178
 
 
1179
CREATE TABLE t1 (line LINESTRING NOT NULL) engine=myisam;
 
1180
INSERT INTO t1 VALUES (GeomFromText("POINT(0 0)"));
 
1181
checksum table t1;
 
1182
CREATE TABLE t2 (line LINESTRING NOT NULL) engine=myisam;
 
1183
INSERT INTO t2 VALUES (GeomFromText("POINT(0 0)"));
 
1184
checksum table t2;
 
1185
CREATE TABLE t3 select * from t1;
 
1186
checksum table t3;
 
1187
drop table t1,t2,t3;
 
1188
 
1174
1189
--echo End of 5.0 tests
1175
1190
 
1176
1191
 
1464
1479
--exec $MYISAMCHK -d $MYSQLTEST_VARDIR/master-data/test/t1
1465
1480
DROP TABLE t1;
1466
1481
 
 
1482
# Test warnings with transactional=1 with MyISAM
 
1483
#
 
1484
create table t1 (n int not null, c char(1)) transactional=1;
 
1485
show create table t1;
 
1486
drop table t1;
 
1487
 
 
1488
#
 
1489
# Test of BUG#35570 CHECKSUM TABLE unreliable if LINESTRING field
 
1490
# (same content / differen checksum)
 
1491
#
 
1492
 
 
1493
CREATE TABLE t1 (line LINESTRING NOT NULL) engine=myisam;
 
1494
INSERT INTO t1 VALUES (GeomFromText("POINT(0 0)"));
 
1495
checksum table t1;
 
1496
CREATE TABLE t2 (line LINESTRING NOT NULL) engine=myisam;
 
1497
INSERT INTO t2 VALUES (GeomFromText("POINT(0 0)"));
 
1498
checksum table t2;
 
1499
CREATE TABLE t3 select * from t1;
 
1500
checksum table t3;
 
1501
drop table t1,t2,t3;
1467
1502
--echo End of 5.1 tests
1468