Skip to content
Snippets Groups Projects
Commit 64582f54 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

* Open the database read-only when enumerating tables.

parent 383297e0
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment