Current Path : /usr/opt/mysql57/mysql-test/suite/innodb_fts/r/ |
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 : //usr/opt/mysql57/mysql-test/suite/innodb_fts/r/fulltext3.result |
DROP TABLE IF EXISTS t1; CREATE TABLE t1(a VARCHAR(255) CHARACTER SET gbk, FULLTEXT(a)) ENGINE = InnoDB; SET NAMES utf8; DELETE FROM t1 LIMIT 1; SET NAMES latin1; DROP TABLE t1; CREATE TABLE t1(a VARCHAR(2) CHARACTER SET big5 COLLATE big5_chinese_ci, FULLTEXT(a)) ENGINE=<default_engine>; DROP TABLE t1; SET NAMES utf8; CREATE TABLE t1(a VARCHAR(255) CHARACTER SET gb18030, FULLTEXT(a)) ENGINE = InnoDB; INSERT INTO t1 VALUES(0xF043616161),(0xBEF361616197C22061616161); SELECT CONVERT(a USING utf8) FROM t1; CONVERT(a USING utf8) 餋aaa 倔aaa椔 aaaa SELECT CONVERT(_gb18030 0x97C22061616161 USING utf8); CONVERT(_gb18030 0x97C22061616161 USING utf8) 椔 aaaa SELECT HEX(a), CONVERT(a USING utf8) FROM t1 WHERE MATCH(a) AGAINST(0x97C220616161 IN BOOLEAN MODE); HEX(a) CONVERT(a USING utf8) SELECT HEX(a), CONVERT(a USING utf8) FROM t1 WHERE MATCH(a) AGAINST(0x97C22061616161 IN BOOLEAN MODE); HEX(a) CONVERT(a USING utf8) BEF361616197C22061616161 倔aaa椔 aaaa SELECT HEX(a), CONVERT(a USING utf8) FROM t1 WHERE MATCH(a) AGAINST(0x97C2206161616161 IN BOOLEAN MODE); HEX(a) CONVERT(a USING utf8) SET NAMES latin1; DROP TABLE t1; CREATE TABLE t1 (a TEXT, FULLTEXT(a)) ENGINE=InnoDB DEFAULT CHARSET=gb18030 COLLATE=gb18030_bin; CREATE TABLE t2 (a TEXT, FULLTEXT(a)) ENGINE=InnoDB DEFAULT CHARSET=gb18030 COLLATE=gb18030_chinese_ci; CREATE TABLE t3 (a TEXT, FULLTEXT(a)) ENGINE=InnoDB DEFAULT CHARSET=gb18030 COLLATE=gb18030_unicode_520_ci; SELECT * FROM t1 WHERE MATCH(a) AGAINST(0xff00ff); a SELECT * FROM t1 WHERE MATCH(a) AGAINST(0xfe00feff8320218400010203); a SELECT * FROM t2 WHERE MATCH(a) AGAINST(0xff00ff); a SELECT * FROM t2 WHERE MATCH(a) AGAINST(0xfe00feff8320218400010203); a SELECT * FROM t3 WHERE MATCH(a) AGAINST(0xff00ff); a SELECT * FROM t3 WHERE MATCH(a) AGAINST(0xfe00feff8320218400010203); a DROP TABLE t1, t2, t3;