2007-07-03 17:11:38 +02:00
|
|
|
DROP TABLE IF EXISTS t1;
|
|
|
|
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);
|
|
|
|
HEX(a)
|
|
|
|
BEF361616197C22061616161
|
|
|
|
DELETE FROM t1 LIMIT 1;
|
|
|
|
CHECK TABLE t1;
|
|
|
|
Table Op Msg_type Msg_text
|
|
|
|
test.t1 check status OK
|
|
|
|
SET NAMES latin1;
|
|
|
|
DROP TABLE t1;
|
2007-07-13 00:29:25 +02:00
|
|
|
CREATE TABLE t1(a VARCHAR(2) CHARACTER SET big5 COLLATE big5_chinese_ci,
|
|
|
|
FULLTEXT(a));
|
|
|
|
INSERT INTO t1 VALUES(0xA3C2);
|
|
|
|
DROP TABLE t1;
|