summaryrefslogtreecommitdiffstats
path: root/src/storage/chewing_large_table2_bdb.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2019-01-17 15:20:32 +0800
committerPeng Wu <alexepico@gmail.com>2019-01-17 15:20:32 +0800
commit35adc8e4fc41dd8c989dc16760e179b63637203a (patch)
tree992e26addaa7717bdb2cf3751bf874c6c146cc50 /src/storage/chewing_large_table2_bdb.cpp
parentb825ba207cec09f53f100fa48c177c1fddf9949b (diff)
downloadlibpinyin-35adc8e4fc41dd8c989dc16760e179b63637203a.tar.gz
libpinyin-35adc8e4fc41dd8c989dc16760e179b63637203a.tar.xz
libpinyin-35adc8e4fc41dd8c989dc16760e179b63637203a.zip
Revert "not use in-memory DBM in src/storage"
This reverts commit 5607752c2b989849923676f4a925e5315a3303d4.
Diffstat (limited to 'src/storage/chewing_large_table2_bdb.cpp')
-rw-r--r--src/storage/chewing_large_table2_bdb.cpp2
1 files changed, 0 insertions, 2 deletions
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 phrase_length>
int ChewingLargeTable2::search_internal(/* in */ const ChewingKey index[],