diff options
author | Peng Wu <alexepico@gmail.com> | 2019-01-17 15:20:32 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2019-01-17 15:20:32 +0800 |
commit | 35adc8e4fc41dd8c989dc16760e179b63637203a (patch) | |
tree | 992e26addaa7717bdb2cf3751bf874c6c146cc50 /src/storage/ngram_kyotodb.cpp | |
parent | b825ba207cec09f53f100fa48c177c1fddf9949b (diff) | |
download | libpinyin-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/ngram_kyotodb.cpp')
-rw-r--r-- | src/storage/ngram_kyotodb.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/storage/ngram_kyotodb.cpp b/src/storage/ngram_kyotodb.cpp index 01689a2..98f2f59 100644 --- a/src/storage/ngram_kyotodb.cpp +++ b/src/storage/ngram_kyotodb.cpp @@ -49,7 +49,7 @@ void Bigram::reset(){ } } -#if 0 + /* Use ProtoHashDB for load_db/save_db methods. */ bool Bigram::load_db(const char * dbfile){ reset(); @@ -94,7 +94,6 @@ bool Bigram::save_db(const char * dbfile){ return true; } -#endif bool Bigram::attach(const char * dbfile, guint32 flags){ reset(); |