This commit is contained in:
Hongze Cheng 2022-02-09 09:44:23 +00:00
parent 494d55999d
commit 5831222f81
2 changed files with 5 additions and 1 deletions

View File

@ -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);

View File

@ -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) {