From 35adc8e4fc41dd8c989dc16760e179b63637203a Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 17 Jan 2019 15:20:32 +0800 Subject: Revert "not use in-memory DBM in src/storage" This reverts commit 5607752c2b989849923676f4a925e5315a3303d4. --- src/storage/chewing_large_table2_bdb.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/storage/chewing_large_table2_bdb.cpp') diff --git a/src/storage/chewing_large_table2_bdb.cpp b/src/storage/chewing_large_table2_bdb.cpp index 8ede82e..6741ffd 100644 --- a/src/storage/chewing_large_table2_bdb.cpp +++ b/src/storage/chewing_large_table2_bdb.cpp @@ -70,7 +70,6 @@ bool ChewingLargeTable2::attach(const char * dbfile, guint32 flags) { return true; } -#if 0 /* load/store method */ bool ChewingLargeTable2::load_db(const char * filename) { reset(); @@ -136,7 +135,6 @@ bool ChewingLargeTable2::store_db(const char * new_filename) { return true; } -#endif template int ChewingLargeTable2::search_internal(/* in */ const ChewingKey index[], -- cgit