Commit c203ec5d authored by unknown's avatar unknown

wl1671 - bug fix, null with scans


ndb/src/ndbapi/NdbReceiver.cpp:
  pass null also when copying out
parent df6e834d
...@@ -146,7 +146,7 @@ NdbReceiver::copyout(NdbReceiver & dstRec){ ...@@ -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();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment