diff options
Diffstat (limited to 'src/storage/phrase_large_table3_bdb.h')
-rw-r--r-- | src/storage/phrase_large_table3_bdb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/storage/phrase_large_table3_bdb.h b/src/storage/phrase_large_table3_bdb.h index 73f7625..3ca6f20 100644 --- a/src/storage/phrase_large_table3_bdb.h +++ b/src/storage/phrase_large_table3_bdb.h @@ -47,11 +47,19 @@ 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); |