summaryrefslogtreecommitdiff
path: root/mysql-test/t/fulltext3.test
blob: a57fd48daaa7fb6279929ba887e11512c2349338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--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