refactor: add assert.
This commit is contained in:
parent
b6324b5c4e
commit
97d0e558bc
|
@ -507,6 +507,7 @@ static void doHashPartition(SOperatorInfo* pOperator, SSDataBlock* pBlock) {
|
|||
colDataSetNull_f(bitmap, (*rows));
|
||||
} else {
|
||||
memcpy(data + (*columnLen), colDataGetData(pColInfoData, j), bytes);
|
||||
ASSERT((data + (*columnLen) + bytes - (char*)pPage) <= getBufPageSize(pInfo->pBuf));
|
||||
}
|
||||
contentLen = bytes;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue