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/phrase_large_table3_bdb.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/storage/phrase_large_table3_bdb.h') diff --git a/src/storage/phrase_large_table3_bdb.h b/src/storage/phrase_large_table3_bdb.h index 3ca6f20..73f7625 100644 --- a/src/storage/phrase_large_table3_bdb.h +++ b/src/storage/phrase_large_table3_bdb.h @@ -47,19 +47,11 @@ public: /* attach method */ bool attach(const char * dbfile, guint32 flags); - bool sync() { - assert(NULL != m_db); - m_db->sync(m_db, 0); - return true; - } - -#if 0 /* load/store method */ /* use in-memory DBM here, for better performance. */ bool load_db(const char * filename); bool store_db(const char * new_filename); -#endif bool load_text(FILE * infile); -- cgit