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:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user