mariadb/mysql-test/t/ft0000002.test
unknown 5902b26a86 ft0000001.test more tests added
ft0000002.test  several ft-indexes test
filesort.cc	DBUG_PRINT's added


sql/filesort.cc:
  more DBUG_PRINT's added
mysql-test/t/ft0000001.test:
  more tests added
2000-12-12 13:17:29 +01:00

20 lines
658 B
Text

# several FULLTEXT indexes in one table test
use test;
DROP TABLE IF EXISTS test;
CREATE TABLE test (
a int(11) NOT NULL auto_increment,
b text,
c varchar(254) default NULL,
PRIMARY KEY (a),
FULLTEXT KEY bb(b),
FULLTEXT KEY cc(c),
FULLTEXT KEY a(b,c)
);
INSERT INTO test VALUES (1,'lala lolo lili','oooo aaaa pppp');
INSERT INTO test VALUES (2,'asdf fdsa','lkjh fghj');
INSERT INTO test VALUES (3,'qpwoei','zmxnvb');
@r/ft0000002.a.result SELECT a, MATCH b AGAINST ('lala lkjh') FROM test;
@r/ft0000002.b.result SELECT a, MATCH c AGAINST ('lala lkjh') FROM test;
@r/ft0000002.c.result SELECT a, MATCH b,c AGAINST ('lala lkjh') FROM test;