mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
* Open the database read-only when enumerating tables.
This commit is contained in:
parent
383297e0e8
commit
64582f54be
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue