提交 5831222f 编写于 作者: H Hongze Cheng

more TDB

上级 494d5599
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册