diff options
author | unknown <monty@hundin.mysql.fi> | 2001-08-18 12:17:56 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-08-18 12:17:56 +0300 |
commit | b6151b42c4fcddf027b1f8feab7c5eb8ada1eda9 (patch) | |
tree | ecd34eef722e133508bbc7015037e4b62981d714 /mysql-test | |
parent | 724d8e1dbc54a0e58afc306813a8c19f8ed0d1a2 (diff) | |
parent | d01f2efebfd97c63b41f609bf887c92c883fc229 (diff) | |
download | mariadb-git-b6151b42c4fcddf027b1f8feab7c5eb8ada1eda9.tar.gz |
merge
Docs/manual.texi:
unedit old version; Will reapply later
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; |