mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
merged
ndb/src/common/mgmcommon/ConfigRetriever.cpp: Auto merged ndb/test/ndbapi/testBlobs.cpp: Auto merged sql/sql_select.cc: Auto merged ndb/src/ndbapi/NdbDictionaryImpl.cpp: ul
This commit is contained in:
@ -11644,9 +11644,9 @@ store_record_in_cache(JOIN_CACHE *cache)
|
||||
end > str && end[-1] == ' ' ;
|
||||
end--) ;
|
||||
length=(uint) (end-str);
|
||||
memcpy(pos+sizeof(uint), str, length);
|
||||
*((uint *) pos)= length;
|
||||
pos+= length+sizeof(uint);
|
||||
memcpy(pos+sizeof(length), str, length);
|
||||
memcpy_fixed(pos, &length, sizeof(length));
|
||||
pos+= length+sizeof(length);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -11709,9 +11709,10 @@ read_cached_record(JOIN_TAB *tab)
|
||||
{
|
||||
if (copy->strip)
|
||||
{
|
||||
memcpy(copy->str, pos+sizeof(uint), length= *((uint *) pos));
|
||||
memcpy_fixed(&length, pos, sizeof(length));
|
||||
memcpy(copy->str, pos+sizeof(length), length);
|
||||
memset(copy->str+length, ' ', copy->length-length);
|
||||
pos+= sizeof(uint)+length;
|
||||
pos+= sizeof(length)+length;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user