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_
#include "tkvBtree.h"
#include "tkvHash.h"
#ifdef __cplusplus
extern "C" {
@ -30,11 +31,10 @@ typedef enum {
struct TDB {
pgsize_t pageSize;
tdb_db_t type; // DB type
tdb_db_t type;
union {
STkvBtree btree;
STkvhash hash;
} dbimpl;
};