summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2001-02-28 09:51:41 +0100
committerunknown <serg@serg.mysql.com>2001-02-28 09:51:41 +0100
commit064c7adf422bddbad3dfdf1dc9d6246082b10a32 (patch)
treee12784b0696c8cf8e1ababf11e9d665c0fdbe982 /mysql-test
parent3a7fc247298afdecc6d10ad647b601039e1c4c1f (diff)
parent1d9c5905f8c7aa98bcca2ee963f79c901433efb6 (diff)
downloadmariadb-git-064c7adf422bddbad3dfdf1dc9d6246082b10a32.tar.gz
Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql
BitKeeper/etc/logging_ok: auto-union Docs/manual.texi: Auto merged
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/t/fulltext.test18
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/t/fulltext.test b/mysql-test/t/fulltext.test
index 3e3061fcd4d..555c543664e 100644
--- a/mysql-test/t/fulltext.test
+++ b/mysql-test/t/fulltext.test
@@ -45,3 +45,21 @@ select t1.id FROM t2 as ttxt,t1 INNER JOIN t1 as ticket2 ON ticket2.id = ttxt.ti
show keys from t2;
show create table t2;
drop table t1,t2;
+
+# check for bug reported by Stephan Skusa
+
+drop table if exists fulltextTEST;
+CREATE TABLE fulltextTEST (
+ field1 varchar(40) NOT NULL,
+ field2 varchar(20) NOT NULL,
+ field3 varchar(40) NOT NULL,
+ PRIMARY KEY (field1),
+ FULLTEXT idx_fulltext (field1, field2, field3)
+);
+
+INSERT INTO fulltextTEST VALUES ( 'test1', 'test1.1', 'test1.1.1');
+INSERT INTO fulltextTEST VALUES ( 'test2', 'test2.1', 'test2.1.1');
+select *
+from fulltextTEST
+where MATCH (field1,field2,field3) AGAINST (NULL);
+drop table fulltextTEST;