From: Gregory P. Smith Date: Sat, 4 Sep 2004 01:36:59 +0000 (+0000) Subject: SF bug 1017405: the keys() values() and items() DB methods were X-Git-Tag: v2.4b1~346 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=442c9fc376949c00a3a1a9da578b2ec3b85ebc36;p=thirdparty%2FPython%2Fcpython.git SF bug 1017405: the keys() values() and items() DB methods were ignoring their transaction (txn) argument. --- diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c index 6a726a589c03..d749cfc04af5 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();