refact TDB
This commit is contained in:
parent
6c314f45f7
commit
2d610f125b
|
@ -100,4 +100,14 @@ SPgCache *tdbEnvGetPgCache(TENV *pEnv) { return pEnv->pPgCache; }
|
||||||
static int tdbEnvDestroy(TENV *pEnv) {
|
static int tdbEnvDestroy(TENV *pEnv) {
|
||||||
// TODO
|
// TODO
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
int tdbEnvBeginTxn(TENV *pEnv) {
|
||||||
|
// TODO
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
int tdbEnvCommit(TENV *pEnv) {
|
||||||
|
// TODO
|
||||||
|
return 0;
|
||||||
}
|
}
|
|
@ -113,11 +113,13 @@ typedef TD_DLIST(SPgFile) SPgFileList;
|
||||||
|
|
||||||
#include "tdbUtil.h"
|
#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"
|
#include "tdbEnv.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue