other: revert the assert for tpagebuf
This commit is contained in:
parent
c8d6960291
commit
894e713719
|
@ -465,7 +465,6 @@ void* getBufPage(SDiskbasedBuf* pBuf, int32_t id) {
|
||||||
// set the ptr to the new SPageInfo
|
// set the ptr to the new SPageInfo
|
||||||
((void**)((*pi)->pData))[0] = (*pi);
|
((void**)((*pi)->pData))[0] = (*pi);
|
||||||
|
|
||||||
assert(listNEles(pBuf->lruList) < pBuf->inMemPages && pBuf->inMemPages > 0);
|
|
||||||
lruListPushFront(pBuf->lruList, *pi);
|
lruListPushFront(pBuf->lruList, *pi);
|
||||||
(*pi)->used = true;
|
(*pi)->used = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue