diff options
author | monty@hundin.mysql.fi <> | 2001-08-18 10:49:00 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-08-18 10:49:00 +0300 |
commit | b1cb5b6ff02ef6b7aa869e4191adc645b318cec6 (patch) | |
tree | 6a8da232a534ba4330a0b544076af5db929af91b /mysql-test | |
parent | bfbc3252e18a17c12fa48a12f01a0223aed123af (diff) | |
download | mariadb-git-b1cb5b6ff02ef6b7aa869e4191adc645b318cec6.tar.gz |
Portability fixes.
Let myisamchk generate a new checksum for compressed data.
Don't unconditionally force filenames to lower case on windows.
Update mysqltest to match 4.0 source (to get some of the new bug fixes into 3.23)
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/t/bdb.test | 4 | ||||
-rw-r--r-- | mysql-test/t/err000001.test | 3 | ||||
-rw-r--r-- | mysql-test/t/fulltext.test | 12 | ||||
-rw-r--r-- | mysql-test/t/innodb.test | 8 | ||||
-rw-r--r-- | mysql-test/t/overflow.test | 2 |
5 files changed, 17 insertions, 12 deletions
diff --git a/mysql-test/t/bdb.test b/mysql-test/t/bdb.test index 7976b482100..5e28c31e051 100644 --- a/mysql-test/t/bdb.test +++ b/mysql-test/t/bdb.test @@ -693,7 +693,7 @@ drop table t1; create table t1 (id int NOT NULL,id2 int NOT NULL,id3 int NOT NULL,dummy1 char(30),primary key (id,id2),index index_id3 (id3)) type=bdb; insert into t1 values (0,0,0,'ABCDEFGHIJ'),(2,2,2,'BCDEFGHIJK'),(1,1,1,'CDEFGHIJKL'); LOCK TABLES t1 WRITE; ---error 690 +--error 1062 insert into t1 values (99,1,2,'D'),(1,1,2,'D'); select id from t1; select id from t1; @@ -704,7 +704,7 @@ create table t1 (id int NOT NULL,id2 int NOT NULL,id3 int NOT NULL,dummy1 char(3 insert into t1 values (0,0,0,'ABCDEFGHIJ'),(2,2,2,'BCDEFGHIJK'),(1,1,1,'CDEFGHIJKL'); LOCK TABLES t1 WRITE; begin; ---error 690 +--error 1062 insert into t1 values (99,1,2,'D'),(1,1,2,'D'); select id from t1; insert ignore into t1 values (100,1,2,'D'),(1,1,99,'D'); diff --git a/mysql-test/t/err000001.test b/mysql-test/t/err000001.test index 9957cefff9b..d9898054a83 100644 --- a/mysql-test/t/err000001.test +++ b/mysql-test/t/err000001.test @@ -10,7 +10,8 @@ create table t1 (a int); !$1054 select count(test.t1.b) from t1; !$1109 select count(not_existing_database.t1) from t1; !$1109 select count(not_existing_database.t1.a) from t1; -!$1044 select count(not_existing_database.t1.a) from not_existing_database.t1; +--error 1044,1146 +select count(not_existing_database.t1.a) from not_existing_database.t1; !$1054 select 1 from t1 order by 2; !$1054 select 1 from t1 group by 2; !$1054 select 1 from t1 order by t1.b; diff --git a/mysql-test/t/fulltext.test b/mysql-test/t/fulltext.test index 153fdefd960..eedee811f2b 100644 --- a/mysql-test/t/fulltext.test +++ b/mysql-test/t/fulltext.test @@ -73,11 +73,15 @@ CREATE TABLE t3 ( ); --error 1210 -select * from t2 having MATCH inhalt AGAINST (t1.id); +select * from t2 where MATCH inhalt AGAINST (t2.inhalt); + --error 1210 -select * from t2 having MATCH ticket AGAINST ('foobar'); +select * from t2 where MATCH inhalt AGAINST (t2.inhalt); + +--error 1191 +select * from t2 where MATCH ticket AGAINST ('foobar'); + --error 1210 -select * from t2,t3 having MATCH (t2.inhalt,t3.inhalt) AGAINST ('foobar'); +select * from t2,t3 where MATCH (t2.inhalt,t3.inhalt) AGAINST ('foobar'); drop table t1,t2,t3; - diff --git a/mysql-test/t/innodb.test b/mysql-test/t/innodb.test index cef53ce8165..3dc154387f7 100644 --- a/mysql-test/t/innodb.test +++ b/mysql-test/t/innodb.test @@ -414,8 +414,8 @@ drop table t1; # CREATE TABLE t1 (a int unsigned NOT NULL) type=innodb; ---error 1031 -INSERT DELAYED INTO t1 VALUES (1); +# Can't test this in 3.23 +# INSERT DELAYED INTO t1 VALUES (1); INSERT INTO t1 VALUES (1); SELECT * FROM t1; DROP TABLE t1; @@ -437,7 +437,7 @@ drop table t1; create table t1 (id int NOT NULL,id2 int NOT NULL,id3 int NOT NULL,dummy1 char(30),primary key (id,id2),index index_id3 (id3)) type=innodb; insert into t1 values (0,0,0,'ABCDEFGHIJ'),(2,2,2,'BCDEFGHIJK'),(1,1,1,'CDEFGHIJKL'); LOCK TABLES t1 WRITE; ---error 690 +--error 1062 insert into t1 values (99,1,2,'D'),(1,1,2,'D'); select id from t1; select id from t1; @@ -448,7 +448,7 @@ create table t1 (id int NOT NULL,id2 int NOT NULL,id3 int NOT NULL,dummy1 char(3 insert into t1 values (0,0,0,'ABCDEFGHIJ'),(2,2,2,'BCDEFGHIJK'),(1,1,1,'CDEFGHIJKL'); LOCK TABLES t1 WRITE; begin; ---error 690 +--error 1062 insert into t1 values (99,1,2,'D'),(1,1,2,'D'); select id from t1; insert ignore into t1 values (100,1,2,'D'),(1,1,99,'D'); diff --git a/mysql-test/t/overflow.test b/mysql-test/t/overflow.test index 7a652257bac..6619a87cabb 100644 --- a/mysql-test/t/overflow.test +++ b/mysql-test/t/overflow.test @@ -1,4 +1,4 @@ connect (con1,localhost,boo,,); connection con1; --- error 1064; +-- error 1064,1102 drop database AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA; |