summaryrefslogtreecommitdiffstats
path: root/src/storage/ngram_kyotodb.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2017-06-19 10:53:55 +0800
committerPeng Wu <alexepico@gmail.com>2017-06-19 11:16:17 +0800
commit5607752c2b989849923676f4a925e5315a3303d4 (patch)
treed25737cc780a8d0d2d8b90794044431a29281ca5 /src/storage/ngram_kyotodb.cpp
parent071deb522f26534861c75897db80344f045b1db1 (diff)
downloadlibpinyin-5607752c2b989849923676f4a925e5315a3303d4.tar.gz
libpinyin-5607752c2b989849923676f4a925e5315a3303d4.tar.xz
libpinyin-5607752c2b989849923676f4a925e5315a3303d4.zip
not use in-memory DBM in src/storage
Diffstat (limited to 'src/storage/ngram_kyotodb.cpp')
-rw-r--r--src/storage/ngram_kyotodb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/storage/ngram_kyotodb.cpp b/src/storage/ngram_kyotodb.cpp
index 98f2f59..01689a2 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,6 +94,7 @@ bool Bigram::save_db(const char * dbfile){
return true;
}
+#endif
bool Bigram::attach(const char * dbfile, guint32 flags){
reset();