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

ignoring their transaction (txn) argument.
This commit is contained in:
Gregory P. Smith 2004-09-04 01:36:59 +00:00
parent f5a1599ebe
commit 442c9fc376

View file

@ -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();