提交 c3113421 编写于 作者: H Hongze Cheng

more

上级 0db6b12a
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#define _TD_TKV_DB_H_ #define _TD_TKV_DB_H_
#include "tkvBtree.h" #include "tkvBtree.h"
#include "tkvHash.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
...@@ -30,11 +31,10 @@ typedef enum { ...@@ -30,11 +31,10 @@ typedef enum {
struct TDB { struct TDB {
pgsize_t pageSize; pgsize_t pageSize;
tdb_db_t type;
tdb_db_t type; // DB type
union { union {
STkvBtree btree; STkvBtree btree;
STkvhash hash;
} dbimpl; } dbimpl;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册