more
This commit is contained in:
parent
0db6b12a47
commit
c31134216c
|
@ -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 {
|
||||||
|
|
||||||
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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue