提交 84eef542 编写于 作者: D dapan1121

fix: memory rows count issue

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