1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-11320: MariaRocks: rocksdb.type_text_indexes fails

Backport the fix for BUG#81810 from facebook/mysql-5.6 tree.
Added the original testcase.

rocksdb.type_text_indexes still fails due to another problem.
This commit is contained in:
Sergei Petrunia
2016-11-21 10:33:09 +00:00
parent 3876f461a8
commit 6fb94c3e43
4 changed files with 68 additions and 2 deletions

View File

@ -8259,7 +8259,7 @@ void Field_blob::sort_string(uchar *to,uint length)
uchar *blob;
uint blob_length=get_length();
if (!blob_length)
if (!blob_length && field_charset->pad_char == 0)
bzero(to,length);
else
{