From: Jonathan McDowell <noodles@earth.li>
Date: Mon, 31 May 2004 23:47:33 +0000 (+0000)
Subject: cscvs to tla changeset 66
X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/2edb917ed0be24b4a525bef5aa346389afbd1be3

cscvs to tla changeset 66
Author: noodles
Date: 2003/04/02 22:04:20
Checkpoint the database on cleanup.
---

diff --git a/keydb_db3.c b/keydb_db3.c
index cffdb15..0f4239b 100644
--- a/keydb_db3.c
+++ b/keydb_db3.c
@@ -191,6 +191,7 @@ void initdb(void)
  */
 void cleanupdb(void)
 {
+	txn_checkpoint(dbenv, 0, 0, 0);
 	worddb->close(worddb, 0);
 	worddb = NULL;
 	dbconn->close(dbconn, 0);