mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge remote-tracking branch '5.5' into 10.0
This commit is contained in:
@ -1873,7 +1873,7 @@ uint Field::fill_cache_field(CACHE_FIELD *copy)
|
||||
{
|
||||
uint store_length;
|
||||
copy->str= ptr;
|
||||
copy->length= pack_length();
|
||||
copy->length= pack_length_in_rec();
|
||||
copy->field= this;
|
||||
if (flags & BLOB_FLAG)
|
||||
{
|
||||
@ -8711,7 +8711,7 @@ int Field_bit::key_cmp(const uchar *str, uint length)
|
||||
str++;
|
||||
length--;
|
||||
}
|
||||
return memcmp(ptr, str, length);
|
||||
return memcmp(ptr, str, bytes_in_rec);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user