This commit is contained in:
Hongze Cheng 2022-01-13 01:50:42 +00:00
parent 0db6b12a47
commit c31134216c
1 changed files with 3 additions and 3 deletions

View File

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