about summary refs log tree commit diff
path: root/src/db.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.cc')
-rw-r--r--src/db.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.cc b/src/db.cc
index 4178f6ebe29f..b33591c8b20d 100644
--- a/src/db.cc
+++ b/src/db.cc
@@ -101,7 +101,7 @@ void enumDB(const string & filename, const string & dbname,
 {
     try {
 
-        auto_ptr<Db2> db = openDB(filename, dbname, false);
+        auto_ptr<Db2> db = openDB(filename, dbname, true);
 
         Dbc * cursor;
         db->cursor(0, &cursor, 0);