more TDB
This commit is contained in:
parent
cbc8720d29
commit
a9acfce886
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue