提交 2c621390 编写于 作者: H Haojun Liao

[td-225] fix bugs in read data from cache.

上级 150067fc
......@@ -1466,8 +1466,8 @@ static int tsdbReadRowsFromCache(SSkipListIterator* pIter, STable* pTable, TSKEY
}
}
numOfRows++;
if (numOfRows >= maxRowsToRead) {
if (++numOfRows >= maxRowsToRead) {
tSkipListIterNext(pIter);
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册