diff options
author | svoj@mysql.com/june.mysql.com <> | 2007-10-24 16:09:30 +0500 |
---|---|---|
committer | svoj@mysql.com/june.mysql.com <> | 2007-10-24 16:09:30 +0500 |
commit | 5d1ccce58ac10b2abff245734cd8e3f5ed2e9f67 (patch) | |
tree | ead3e129281c65f52e3d4f313afe9583ab920b1b /mysql-test/r | |
parent | ab95dad7a49cefbbb801cd98d9344443f4fdcae4 (diff) | |
download | mariadb-git-5d1ccce58ac10b2abff245734cd8e3f5ed2e9f67.tar.gz |
BUG#31159 - fulltext search on ucs2 column crashes server
ucs2 doesn't provide required by fulltext ctype array. Crash
happens because fulltext attempts to use unitialized ctype
array.
Fixed by converting ucs2 fields to compatible utf8 analogue.
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/ctype_ucs.result | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/ctype_ucs.result b/mysql-test/r/ctype_ucs.result index bf827209795..fef13b19ae8 100644 --- a/mysql-test/r/ctype_ucs.result +++ b/mysql-test/r/ctype_ucs.result @@ -803,4 +803,10 @@ quote(name) ???????? ???????????????? drop table bug20536; +CREATE TABLE t1(a TEXT CHARSET ucs2 COLLATE ucs2_unicode_ci); +INSERT INTO t1 VALUES('abcd'); +SELECT * FROM t1 WHERE MATCH(a) AGAINST ('+abcd' IN BOOLEAN MODE); +a +abcd +DROP TABLE t1; End of 4.1 tests |