From 442c9fc376949c00a3a1a9da578b2ec3b85ebc36 Mon Sep 17 00:00:00 2001
From: "Gregory P. Smith" <greg@mad-scientist.com>
Date: Sat, 4 Sep 2004 01:36:59 +0000
Subject: SF bug 1017405:  the keys() values() and items() DB methods were
 ignoring their transaction (txn) argument.

---
 Modules/_bsddb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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();
 
-- 
cgit v0.12

