refact TDB

This commit is contained in:
Hongze Cheng 2022-02-14 10:10:47 +00:00
parent 6c314f45f7
commit 2d610f125b
8 changed files with 15 additions and 3 deletions

View File

@ -100,4 +100,14 @@ SPgCache *tdbEnvGetPgCache(TENV *pEnv) { return pEnv->pPgCache; }
static int tdbEnvDestroy(TENV *pEnv) {
// TODO
return 0;
}
int tdbEnvBeginTxn(TENV *pEnv) {
// TODO
return 0;
}
int tdbEnvCommit(TENV *pEnv) {
// TODO
return 0;
}

View File

@ -113,11 +113,13 @@ typedef TD_DLIST(SPgFile) SPgFileList;
#include "tdbUtil.h"
#include "btree.h"
#include "tdbBtree.h"
#include "pgcache.h"
#include "tdbPgCache.h"
#include "pgfile.h"
#include "tdbPgFile.h"
#include "tdbJournal.h"
#include "tdbEnv.h"