From 151774a412b7eac94e1a49cad34a58dc3bbe9fcd Mon Sep 17 00:00:00 2001 From: Changgyu Choi Date: Thu, 4 Mar 2021 19:59:39 +0900 Subject: [PATCH] Fix wrong implementation Signed-off-by: Changgyu Choi --- src/common/database/db_handle_provider.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/common/database/db_handle_provider.cc b/src/common/database/db_handle_provider.cc index d97c132..a327041 100644 --- a/src/common/database/db_handle_provider.cc +++ b/src/common/database/db_handle_provider.cc @@ -106,7 +106,6 @@ sqlite3* DBHandleProvider::GetMemoryDBHandle(const std::string& filedb_path, } void DBHandleProvider::SetMemoryMode(bool flag) { - is_memory_ = false; std::unique_lock u(lock_); if (is_memory_ == flag) return; -- 2.7.4