mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +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 */
|
/* get a cursor */
|
||||||
MYDB_BEGIN_ALLOW_THREADS;
|
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;
|
MYDB_END_ALLOW_THREADS;
|
||||||
RETURN_IF_ERR();
|
RETURN_IF_ERR();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue