提交 dcb06564 编写于 作者: H Hongze Cheng

more

上级 51d8cf6e
......@@ -1012,7 +1012,7 @@ int tdbBtcMoveToFirst(SBTC *pBtc) {
if (TDB_PAGE_TOTAL_CELLS(pBtc->pPage) > 0) {
pBtc->idx = 0;
} else {
// no any data, point is invalid
// no any data, point to an invalid position
ASSERT(TDB_BTREE_PAGE_IS_LEAF(pBtc->pPage));
pBtc->idx = -1;
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册