summaryrefslogtreecommitdiffstats
path: root/src/storage/ngram.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/ngram.h')
-rw-r--r--src/storage/ngram.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/storage/ngram.h b/src/storage/ngram.h
index a2bc7b6..f8b59f1 100644
--- a/src/storage/ngram.h
+++ b/src/storage/ngram.h
@@ -97,6 +97,7 @@ private:
void reset(){
if ( m_db ){
+ m_db->sync(m_db, 0);
m_db->close(m_db, 0);
m_db = NULL;
}