Commit 442c9fc3 authored by Gregory P. Smith's avatar Gregory P. Smith

SF bug 1017405: the keys() values() and items() DB methods were

ignoring their transaction (txn) argument.
parent f5a1599e
......@@ -2570,7 +2570,7 @@ _DB_make_list(DBObject* self, DB_TXN* txn, int type)
/* get a cursor */
MYDB_BEGIN_ALLOW_THREADS;
err = self->db->cursor(self->db, NULL, &cursor, 0);
err = self->db->cursor(self->db, txn, &cursor, 0);
MYDB_END_ALLOW_THREADS;
RETURN_IF_ERR();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment