mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
wl1671 - bug fix, null with scans
ndb/src/ndbapi/NdbReceiver.cpp: pass null also when copying out
This commit is contained in:
parent
df6e834d21
commit
c203ec5dfb
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ NdbReceiver::copyout(NdbReceiver & dstRec){
|
||||||
|
|
||||||
while(dst){
|
while(dst){
|
||||||
Uint32 len = ((src->theAttrSize * src->theArraySize)+3)/4;
|
Uint32 len = ((src->theAttrSize * src->theArraySize)+3)/4;
|
||||||
dst->receive_data((Uint32*)src->aRef(), len);
|
dst->receive_data((Uint32*)src->aRef(), src->isNULL() ? 0 : len);
|
||||||
src = src->next();
|
src = src->next();
|
||||||
dst = dst->next();
|
dst = dst->next();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue