mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
Merge mysql.com:/home/svoj/devel/mysql/BUG29299/mysql-5.0-engines
into mysql.com:/home/svoj/devel/mysql/BUG29299/mysql-5.1-engines mysql-test/t/fulltext2.test: Auto merged storage/myisam/ft_parser.c: Use local mysql-test/r/fulltext2.result: Manual merge.
This commit is contained in:
commit
f2e7e2fa70
2 changed files with 24 additions and 0 deletions
|
@ -249,3 +249,15 @@ a
|
|||
„MySQL“
|
||||
DROP TABLE t1;
|
||||
SET NAMES latin1;
|
||||
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;
|
||||
|
|
|
@ -220,6 +220,18 @@ select * from t1 where match a against('ab c' in boolean mode);
|
|||
drop table t1;
|
||||
set names latin1;
|
||||
|
||||
#
|
||||
# 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 4.1 tests
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue