mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
SF bug 1017405: the keys() values() and items() DB methods were
ignoring their transaction (txn) argument.
This commit is contained in:
parent
f5a1599ebe
commit
442c9fc376
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue