Current Path : /home/usr.opt/mysql57/mysql-test/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/t/fulltext3.test |
# This tests the functionality of the fulltext search of Myisam engine # The implementation of the fulltext search is different in InnoDB engine # All tests are required to run with Myisam. # Hence MTR starts mysqld with MyISAM as default --source include/force_myisam_default.inc --source include/have_myisam.inc --source include/have_gbk.inc # # test of new fulltext search features # --disable_warnings DROP TABLE IF EXISTS t1; --enable_warnings # # BUG#29299 - repeatable myisam fulltext index corruption # CREATE TABLE t1(a VARCHAR(255) CHARACTER SET gbk, FULLTEXT(a)); SET NAMES utf8; INSERT INTO t1 VALUES(0xF043616161),(0xBEF361616197C22061616161); SELECT HEX(a) FROM t1 WHERE MATCH(a) AGAINST(0x97C22061616161 IN BOOLEAN MODE); DELETE FROM t1 LIMIT 1; CHECK TABLE t1; SET NAMES latin1; DROP TABLE t1; # End of 5.0 tests # # BUG#29464 - load data infile into table with big5 chinese fulltext index # hangs 100% cpu # CREATE TABLE t1(a VARCHAR(2) CHARACTER SET big5 COLLATE big5_chinese_ci, FULLTEXT(a)); INSERT INTO t1 VALUES(0xA3C2); DROP TABLE t1; # End of 5.1 tests --echo # --echo # Bug#19828320 FTS MATCH IN SUBQUERY CRASH AFTER UPDATE_REF_AND_KEYS --echo # CREATE TABLE t1 (a TEXT CHARSET LATIN1, FULLTEXT(a)) ENGINE=INNODB; --error ER_WRONG_ARGUMENTS SELECT (SELECT 1 FROM (SELECT 1) foo WHERE MATCH(`a`) AGAINST ('')) FROM t1; DROP TABLE t1;