more TDB
This commit is contained in:
parent
983339f1f6
commit
c981b72fc4
|
@ -42,6 +42,7 @@ typedef struct __attribute__((__packed__)) {
|
|||
TDB_STATIC_ASSERT(sizeof(SFileHdr) == 128, "Size of file header is not correct");
|
||||
|
||||
static int tdbPagerReadPage(SPager *pPager, SPage *pPage);
|
||||
static int tdbPagerAllocPage(SPager *pPager, SPgno *ppgno);
|
||||
|
||||
int tdbPagerOpen(SPCache *pCache, const char *fileName, SPager **ppPager) {
|
||||
uint8_t *pPtr;
|
||||
|
@ -319,7 +320,6 @@ int tdbPagerNewPage(SPager *pPager, SPgno *ppgno, SPage **ppPage) {
|
|||
|
||||
// tdbWunlockPage(pPage);
|
||||
|
||||
|
||||
*ppPage = pPage;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue