wl1671 - bug fix, null with scans

ndb/src/ndbapi/NdbReceiver.cpp:
  pass null also when copying out
This commit is contained in:
unknown 2004-06-16 16:02:45 +02:00
parent df6e834d21
commit c203ec5dfb

View file

@ -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();
} }