summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_large_table3_kyotodb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/phrase_large_table3_kyotodb.h')
-rw-r--r--src/storage/phrase_large_table3_kyotodb.h8
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);