enh(query):init result row size.
This commit is contained in:
parent
4237da3c84
commit
fbf728f807
|
@ -172,6 +172,11 @@ SResultRow* getNewResultRow(SDiskbasedBuf* pResultBuf, int32_t* currentPageId, i
|
||||||
SResultRow* pResultRow = (SResultRow*)((char*)pData + pData->num);
|
SResultRow* pResultRow = (SResultRow*)((char*)pData + pData->num);
|
||||||
pResultRow->pageId = pageId;
|
pResultRow->pageId = pageId;
|
||||||
pResultRow->offset = (int32_t)pData->num;
|
pResultRow->offset = (int32_t)pData->num;
|
||||||
|
pResultRow->numOfRows = 0;
|
||||||
|
pResultRow->closed = false;
|
||||||
|
pResultRow->startInterp = false;
|
||||||
|
pResultRow->endInterp = false;
|
||||||
|
|
||||||
*currentPageId = pageId;
|
*currentPageId = pageId;
|
||||||
|
|
||||||
pData->num += interBufSize;
|
pData->num += interBufSize;
|
||||||
|
|
Loading…
Reference in New Issue