From 64582f54be099eb92a75ed301c72681afa4db741 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 30 May 2003 15:18:30 +0000 Subject: * Open the database read-only when enumerating tables. --- src/db.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 db = openDB(filename, dbname, false); + auto_ptr db = openDB(filename, dbname, true); Dbc * cursor; db->cursor(0, &cursor, 0); -- cgit 1.4.1