[td-13039] fix compiler error.
This commit is contained in:
parent
554f12db50
commit
c503c00ff8
|
@ -140,7 +140,7 @@ static bool allocBuf(SDataDispatchHandle* pDispatcher, const SInputData* pInput,
|
|||
// NOTE: there are four bytes of an integer more than the required buffer space.
|
||||
// struct size + data payload + length for each column + bitmap length
|
||||
pBuf->allocSize = sizeof(SRetrieveTableRsp) + blockDataGetSerialMetaSize(pInput->pData) +
|
||||
__ceill(blockDataGetSerialRowSize(pInput->pData) * pInput->pData->info.rows);
|
||||
ceil(blockDataGetSerialRowSize(pInput->pData) * pInput->pData->info.rows);
|
||||
|
||||
pBuf->pData = malloc(pBuf->allocSize);
|
||||
if (pBuf->pData == NULL) {
|
||||
|
|
Loading…
Reference in New Issue