mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
merge 5.5->10.0-base
This commit is contained in:
commit
f4d5d849fd
29 changed files with 270 additions and 91 deletions
|
|
@ -58,7 +58,7 @@ ha_checksum _ma_checksum(MARIA_HA *info, const uchar *record)
|
|||
length= _ma_calc_blob_length(blob_size_length, pos);
|
||||
if (length)
|
||||
{
|
||||
memcpy((char*) &pos, pos + blob_size_length, sizeof(char*));
|
||||
memcpy(&pos, pos + blob_size_length, sizeof(char*));
|
||||
crc= my_checksum(crc, pos, length);
|
||||
}
|
||||
continue;
|
||||
|
|
|
|||
|
|
@ -589,7 +589,7 @@ static int _ma_put_key_in_record(register MARIA_HA *info, uint keynr,
|
|||
if (unpack_blobs)
|
||||
{
|
||||
memcpy(record+keyseg->start+keyseg->bit_start,
|
||||
(char*) &blob_ptr,sizeof(char*));
|
||||
&blob_ptr, sizeof(char*));
|
||||
memcpy(blob_ptr,key,length);
|
||||
blob_ptr+=length;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue