mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
e03265d4d5
Add quoting for use `database` for mysqlbinlog Removed test ins0000001 Add support for --replace for exec in mysqltest Don't refer to install dir in mysqlbinlog.result BitKeeper/deleted/.del-ins000001.result~f45c599efdf8352b: Delete: mysql-test/r/ins000001.result BitKeeper/deleted/.del-ins000001.test~2428ee5c9b1bc483: Delete: mysql-test/t/ins000001.test client/mysqlbinlog.cc: Removed random chars after filename for LOAD DATA INFILE client/mysqltest.c: Add support for --replace for 'exec' mysql-test/r/drop_temp_table.result: Updated results after quoting change mysql-test/r/fulltext_multi.result: Updated results after quoting change mysql-test/r/fulltext_order_by.result: Updated results after quoting change mysql-test/r/insert.result: New tests mysql-test/r/insert_select.result: Updated results after quoting change mysql-test/r/mix_innodb_myisam_binlog.result: Updated results after quoting change mysql-test/r/mysqlbinlog.result: Updated results after quoting change mysql-test/r/rpl_log.result: Updated results after quoting change mysql-test/t/fulltext_multi.test: Remove 'use' mysql-test/t/fulltext_order_by.test: Remove 'use' mysql-test/t/insert.test: Merge test with ins0000001.test mysql-test/t/mysqlbinlog.test: Don't refer to install dir in result sql/log_event.cc: Add quoting for use `database` for mysqlbinlog support-files/mysql.server.sh: Move pid_file test after arguments have been parsed
23 lines
619 B
Text
23 lines
619 B
Text
# several FULLTEXT indexes in one table test
|
|
--disable_warnings
|
|
DROP TABLE IF EXISTS t1;
|
|
--enable_warnings
|
|
|
|
CREATE TABLE t1 (
|
|
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 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 t1;
|
|
SELECT a, MATCH c AGAINST ('lala lkjh') FROM t1;
|
|
SELECT a, MATCH b,c AGAINST ('lala lkjh') FROM t1;
|
|
drop table t1;
|