This commit is contained in:
Hongze Cheng 2022-03-25 08:41:00 +00:00
parent cbc8720d29
commit a9acfce886
1 changed files with 1 additions and 2 deletions

View File

@ -1165,8 +1165,7 @@ int tdbBtreeNext(SBTC *pBtc, void **ppKey, int *kLen, void **ppVal, int *vLen) {
void *pKey, *pVal; void *pKey, *pVal;
int ret; int ret;
if (0) { if (pBtc->idx < 0) {
// TODO: no valid data current cursor is pointing to
return -1; return -1;
} }