diff options
Diffstat (limited to 'src/storage/chewing_large_table2_kyotodb.h')
-rw-r--r-- | src/storage/chewing_large_table2_kyotodb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/storage/chewing_large_table2_kyotodb.h b/src/storage/chewing_large_table2_kyotodb.h index 92f317b..51bb381 100644 --- a/src/storage/chewing_large_table2_kyotodb.h +++ b/src/storage/chewing_large_table2_kyotodb.h @@ -88,11 +88,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/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, TABLE_PHONETIC_TYPE type); |