diff options
Diffstat (limited to 'mysql-test/t/fulltext_multi.test')
-rw-r--r-- | mysql-test/t/fulltext_multi.test | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/mysql-test/t/fulltext_multi.test b/mysql-test/t/fulltext_multi.test index ca14220a1f8..233c243146e 100644 --- a/mysql-test/t/fulltext_multi.test +++ b/mysql-test/t/fulltext_multi.test @@ -1,7 +1,7 @@ # several FULLTEXT indexes in one table test use test; -DROP TABLE IF EXISTS test; -CREATE TABLE test ( +DROP TABLE IF EXISTS t1; +CREATE TABLE t1 ( a int(11) NOT NULL auto_increment, b text, c varchar(254) default NULL, @@ -11,10 +11,11 @@ CREATE TABLE test ( 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'); +INSERT INTO t1 VALUES (1,'lala lolo lili','oooo aaaa pppp'); +INSERT INTO t1 VALUES (2,'asdf fdsa','lkjh fghj'); +INSERT INTO t1 VALUES (3,'qpwoei','zmxnvb'); -SELECT a, MATCH b AGAINST ('lala lkjh') FROM test; -SELECT a, MATCH c AGAINST ('lala lkjh') FROM test; -SELECT a, MATCH b,c AGAINST ('lala lkjh') FROM test; +SELECT a, MATCH b AGAINST ('lala lkjh') FROM t1; +SELECT a, MATCH c AGAINST ('lala lkjh') FROM t1; +SELECT a, MATCH b,c AGAINST ('lala lkjh') FROM t1; +drop table t1; |