Fix wrong implementation
authorChanggyu Choi <changyu.choi@samsung.com>
Thu, 4 Mar 2021 10:59:39 +0000 (19:59 +0900)
committer연정현/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 <jungh.yeon@samsung.com>
Fri, 5 Mar 2021 00:05:55 +0000 (09:05 +0900)
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/common/database/db_handle_provider.cc

index d97c132..a327041 100644 (file)
@@ -106,7 +106,6 @@ sqlite3* DBHandleProvider::GetMemoryDBHandle(const std::string& filedb_path,
 }
 
 void DBHandleProvider::SetMemoryMode(bool flag) {
-  is_memory_ = false;
   std::unique_lock<std::mutex> u(lock_);
   if (is_memory_ == flag)
     return;