diff options
Diffstat (limited to 'src/storage/phrase_large_table3_kyotodb.h')
-rw-r--r-- | src/storage/phrase_large_table3_kyotodb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/storage/phrase_large_table3_kyotodb.h b/src/storage/phrase_large_table3_kyotodb.h index d122de0..711efa4 100644 --- a/src/storage/phrase_large_table3_kyotodb.h +++ b/src/storage/phrase_large_table3_kyotodb.h @@ -49,11 +49,19 @@ public: /* attach method */ bool attach(const char * dbfile, guint32 flags); + bool sync() { + assert(NULL != m_db); + m_db->synchronize(); + return true; + } + +#if 0 /* load_db/store_db 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); |