Commit fcc8d934 authored by joreland@mysql.com's avatar joreland@mysql.com

wl1671 - bug fix, null with scans

parent 2b9172a3
...@@ -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