From 3b4fabc70205fd6f4fd3e4a0b2581c2346907c9d Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Fri, 14 Jan 2022 08:11:58 +0000 Subject: [PATCH] more tkv --- source/libs/tdb/src/inc/tdbDB.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/libs/tdb/src/inc/tdbDB.h b/source/libs/tdb/src/inc/tdbDB.h index e6b49c94ec..fca197dc39 100644 --- a/source/libs/tdb/src/inc/tdbDB.h +++ b/source/libs/tdb/src/inc/tdbDB.h @@ -28,11 +28,13 @@ extern "C" { struct TDB { pgsize_t pageSize; tdb_db_t type; + char * fname; + char * dbname; union { TDB_BTREE *btree; TDB_HASH * hash; TDB_HEAP * heap; - } dbam; // Different access methods + } dbam; // db access method }; #ifdef __cplusplus