diff options
Diffstat (limited to 'src/storage/ngram_bdb.h')
-rw-r--r-- | src/storage/ngram_bdb.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/storage/ngram_bdb.h b/src/storage/ngram_bdb.h index 8ab3c1b..76a3116 100644 --- a/src/storage/ngram_bdb.h +++ b/src/storage/ngram_bdb.h @@ -56,7 +56,6 @@ public: */ ~Bigram(); -#if 0 /** * Bigram::load_db: * @dbfile: the Berkeley DB file name. @@ -76,7 +75,6 @@ public: * */ bool save_db(const char * dbfile); -#endif /** * Bigram::attach: @@ -89,12 +87,6 @@ public: */ bool attach(const char * dbfile, guint32 flags); - bool sync() { - assert(NULL != m_db); - m_db->sync(m_db, 0); - return true; - } - /** * Bigram::load: * @index: the previous token in the bi-gram. |