From: Gregory P. Smith Date: Sat, 4 Sep 2004 01:41:01 +0000 (+0000) Subject: SF bug 1017405: DB keys() values() and items() methods were ignoring X-Git-Tag: v2.3.5c1~118 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a3731c7734b4560f3bb884a4c657eab6f66fe0e7;p=thirdparty%2FPython%2Fcpython.git SF bug 1017405: DB keys() values() and items() methods were ignoring their txn argument. --- diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c index ef6e2928e81f..d4be74578b17 100644 --- a/Modules/_bsddb.c +++ b/Modules/_bsddb.c @@ -2409,7 +2409,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();