提交 c5f37d28 编写于 作者: D dapan1121

fix: memory row count issue

上级 e0f951e6
......@@ -283,11 +283,11 @@ bool tsdbTbDataIterNext(STbDataIter *pIter) {
}
int64_t tsdbCountTbDataRows(STbData *pTbData) {
SMemSkipListNode *pNode = NULL;
SMemSkipListNode *pNode = pTbData->sl.pHead;
int64_t rowsNum = 0;
while (true) {
pNode = SL_GET_NODE_FORWARD(pTbData->sl.pHead, 0);
pNode = SL_GET_NODE_FORWARD(pNode, 0);
if (pNode == pTbData->sl.pTail) {
return rowsNum;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册