mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
5.1 merge
This commit is contained in:
@ -7708,7 +7708,7 @@ int Field_blob::store(const char *from,uint length,CHARSET_INFO *cs)
|
||||
if (!String::needs_conversion(length, cs, field_charset, &dummy_offset))
|
||||
{
|
||||
Field_blob::store_length(length);
|
||||
bmove(ptr+packlength,(char*) &from,sizeof(char*));
|
||||
bmove(ptr + packlength, &from, sizeof(char*));
|
||||
return 0;
|
||||
}
|
||||
if (tmpstr.copy(from, length, cs))
|
||||
@ -8363,7 +8363,7 @@ int Field_geom::store(const char *from, uint length, CHARSET_INFO *cs)
|
||||
value.copy(from, length, cs);
|
||||
from= value.ptr();
|
||||
}
|
||||
bmove(ptr + packlength, (char*) &from, sizeof(char*));
|
||||
bmove(ptr + packlength, &from, sizeof(char*));
|
||||
}
|
||||
return 0;
|
||||
|
||||
|
Reference in New Issue
Block a user