more TDB
This commit is contained in:
parent
494d55999d
commit
5831222f81
|
@ -22,9 +22,12 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct STDb TDB;
|
||||
typedef struct STDb TDB;
|
||||
typedef struct STDbEnv TENV;
|
||||
|
||||
// TEVN
|
||||
|
||||
// TDB
|
||||
int tdbCreate(TDB **ppDb);
|
||||
int tdbDestroy(TDB *pDb);
|
||||
int tdbOpen(TDB **pDb, const char *fname, const char *dbname);
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
struct STDb {
|
||||
SBTree btree; // current access method
|
||||
SPgFile *pPgFile; // backend page file this DB is using
|
||||
TENV * pEnv; // TENV containing the DB
|
||||
};
|
||||
|
||||
int tdbCreate(TDB **ppDb) {
|
||||
|
|
Loading…
Reference in New Issue