From 67bc02d429e3f837d685f278d976df727f0f4fb2 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Mon, 28 Feb 2022 05:07:30 +0000 Subject: [PATCH] refact --- source/libs/tdb/src/db/tdbEnv.c | 10 ---------- source/libs/tdb/src/inc/tdbEnv.h | 3 --- 2 files changed, 13 deletions(-) diff --git a/source/libs/tdb/src/db/tdbEnv.c b/source/libs/tdb/src/db/tdbEnv.c index 96427f1430..c92ff0c320 100644 --- a/source/libs/tdb/src/db/tdbEnv.c +++ b/source/libs/tdb/src/db/tdbEnv.c @@ -56,16 +56,6 @@ int tdbEnvClose(STEnv *pEnv) { return 0; } -int tdbEnvBegin(STEnv *pEnv) { - // TODO - return 0; -} - -int tdbEnvCommit(STEnv *pEnv) { - // TODO - return 0; -} - #if 0 struct STDbEnv { char * rootDir; // root directory of the environment diff --git a/source/libs/tdb/src/inc/tdbEnv.h b/source/libs/tdb/src/inc/tdbEnv.h index a45745b4a0..29eae40c46 100644 --- a/source/libs/tdb/src/inc/tdbEnv.h +++ b/source/libs/tdb/src/inc/tdbEnv.h @@ -25,9 +25,6 @@ typedef struct STEnv STEnv; int tdbEnvOpen(const char *rootDir, int pageSize, int cacheSize, STEnv **ppEnv); int tdbEnvClose(STEnv *pEnv); -int tdbEnvBegin(STEnv *pEnv); -int tdbEnvCommit(STEnv *pEnv); - #ifdef __cplusplus } #endif -- GitLab