diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-12-02 00:19:49 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-12-03 22:03:38 +0100 |
commit | 4a3acbcfd07291ecc141f37200eec79eb1713882 (patch) | |
tree | 3266c4d33a5af196d997a965dc6239e3486b5dd8 /mysql-test/r/fulltext_charsets.result | |
parent | 0a4b508173a0cd32f329df3514bf34c2f2001317 (diff) | |
download | mariadb-git-4a3acbcfd07291ecc141f37200eec79eb1713882.tar.gz |
MDEV-11241 Certain combining marks cause MariaDB to crash when doing Full-Text searches
Don't assume that a word of n bytes can match a word of
at most n * charset->mbmaxlen bytes, always go for the worst.
Diffstat (limited to 'mysql-test/r/fulltext_charsets.result')
-rw-r--r-- | mysql-test/r/fulltext_charsets.result | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/r/fulltext_charsets.result b/mysql-test/r/fulltext_charsets.result new file mode 100644 index 00000000000..39ce02a3fce --- /dev/null +++ b/mysql-test/r/fulltext_charsets.result @@ -0,0 +1,7 @@ +set names utf8mb4; +create table t1 (a int, b text, fulltext (b)) charset=utf8mb4 collate=utf8mb4_unicode_ci; +insert t1 values (1000, 'C͓̙̯͔̩ͅͅi̩̘̜̲a̯̲̬̳̜̖̤o͕͓̜͓̺̖̗,̠̬͚ ̺T͇̲h͈̱e ̬̜D̖o̦̖͔̗͖̩̘c̣̼t̝͉̫̮̗o͉̫̭r̙͎̗.͓̪̥'); +select a from t1 where match(b) against ('ciao' in boolean mode); +a +1000 +drop table t1; |