diff options
| author | Gregory P. Smith <greg@mad-scientist.com> | 2004-09-04 01:36:59 +0000 |
|---|---|---|
| committer | Gregory P. Smith <greg@mad-scientist.com> | 2004-09-04 01:36:59 +0000 |
| commit | 442c9fc376949c00a3a1a9da578b2ec3b85ebc36 (patch) | |
| tree | 5881b72be625b3f219aac305811a7933ce9b587b /Modules/_bsddb.c | |
| parent | f5a1599ebe838ebd99ef966e56debb48d3826d30 (diff) | |
| download | cpython-git-442c9fc376949c00a3a1a9da578b2ec3b85ebc36.tar.gz | |
SF bug 1017405: the keys() values() and items() DB methods were
ignoring their transaction (txn) argument.
Diffstat (limited to 'Modules/_bsddb.c')
| -rw-r--r-- | Modules/_bsddb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c index 6a726a589c..d749cfc04a 100644 --- a/Modules/_bsddb.c +++ b/Modules/_bsddb.c @@ -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(); |
