Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 442c9fc

Browse files
committed
SF bug 1017405: the keys() values() and items() DB methods were
ignoring their transaction (txn) argument.
1 parent f5a1599 commit 442c9fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_bsddb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2570,7 +2570,7 @@ _DB_make_list(DBObject* self, DB_TXN* txn, int type)
25702570

25712571
/* get a cursor */
25722572
MYDB_BEGIN_ALLOW_THREADS;
2573-
err = self->db->cursor(self->db, NULL, &cursor, 0);
2573+
err = self->db->cursor(self->db, txn, &cursor, 0);
25742574
MYDB_END_ALLOW_THREADS;
25752575
RETURN_IF_ERR();
25762576

0 commit comments

Comments
 (0)