mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 17:14:30 +02:00
MariaDB made be compiled by gcc 4.8.1
There was 2 problems: 1) coping/moving of the same type (usually casting) as sizeof() (solved in different ways depends on the cause); 2) using 'const' in SSL_CTX::getVerifyCallback() which return object (not reference) and so copy of the object will be created and 'const' has no sens.
This commit is contained in:
parent
883af99e7d
commit
5ce11d8b4c
9 changed files with 10 additions and 10 deletions
|
|
@ -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