diff options
author | svoj@mysql.com/june.mysql.com <> | 2007-07-05 15:17:06 +0500 |
---|---|---|
committer | svoj@mysql.com/june.mysql.com <> | 2007-07-05 15:17:06 +0500 |
commit | 69acbc7759c45e13ec09cfa7659baa3eee987bb3 (patch) | |
tree | 8b54b83ae7e0a63dac8e6950d3eb250c5680d3ae /mysql-test/t/fulltext.test | |
parent | dc82068c9696f7da81c60b167b8a68d2c91d8bdb (diff) | |
download | mariadb-git-69acbc7759c45e13ec09cfa7659baa3eee987bb3.tar.gz |
BUG#29464 - load data infile into table with big5 chinese fulltext index
hangs 100% cpu
Fulltext parser may fall into infinite loop when it gets illegal
multibyte sequence (or a sequence that doesn't have mapping to unicode).
Affects 5.1 only.
Diffstat (limited to 'mysql-test/t/fulltext.test')
-rw-r--r-- | mysql-test/t/fulltext.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/fulltext.test b/mysql-test/t/fulltext.test index 537ab5888bd..749e54d218a 100644 --- a/mysql-test/t/fulltext.test +++ b/mysql-test/t/fulltext.test @@ -399,4 +399,13 @@ ALTER TABLE t1 DISABLE KEYS; SELECT * FROM t1 WHERE MATCH(a) AGAINST('test'); DROP TABLE t1; +# +# 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 4.1 tests |