From c203ec5dfb04dd6d410880e062b20348259c857b Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 16 Jun 2004 16:02:45 +0200 Subject: [PATCH] wl1671 - bug fix, null with scans ndb/src/ndbapi/NdbReceiver.cpp: pass null also when copying out --- ndb/src/ndbapi/NdbReceiver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndb/src/ndbapi/NdbReceiver.cpp b/ndb/src/ndbapi/NdbReceiver.cpp index 7a538de3d7c..b05e84f3e42 100644 --- a/ndb/src/ndbapi/NdbReceiver.cpp +++ b/ndb/src/ndbapi/NdbReceiver.cpp @@ -146,7 +146,7 @@ NdbReceiver::copyout(NdbReceiver & dstRec){ while(dst){ 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(); dst = dst->next(); }