summaryrefslogtreecommitdiff
path: root/mysql-test/t/fulltext.test
diff options
context:
space:
mode:
authorsvoj@mysql.com/june.mysql.com <>2007-07-05 15:17:06 +0500
committersvoj@mysql.com/june.mysql.com <>2007-07-05 15:17:06 +0500
commit69acbc7759c45e13ec09cfa7659baa3eee987bb3 (patch)
tree8b54b83ae7e0a63dac8e6950d3eb250c5680d3ae /mysql-test/t/fulltext.test
parentdc82068c9696f7da81c60b167b8a68d2c91d8bdb (diff)
downloadmariadb-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.test9
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