summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2004-09-04 01:36:59 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2004-09-04 01:36:59 (GMT)
commit442c9fc376949c00a3a1a9da578b2ec3b85ebc36 (patch)
tree5881b72be625b3f219aac305811a7933ce9b587b /Modules
parentf5a1599ebe838ebd99ef966e56debb48d3826d30 (diff)
downloadcpython-442c9fc376949c00a3a1a9da578b2ec3b85ebc36.zip
cpython-442c9fc376949c00a3a1a9da578b2ec3b85ebc36.tar.gz
cpython-442c9fc376949c00a3a1a9da578b2ec3b85ebc36.tar.bz2
SF bug 1017405: the keys() values() and items() DB methods were
ignoring their transaction (txn) argument.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_bsddb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c
index 6a726a5..d749cfc 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();