[Python-checkins] python/dist/src/Modules _bsddb.c, 1.17.6.4, 1.17.6.5

greg at users.sourceforge.net greg at users.sourceforge.net
Sat Sep 4 03:41:04 CEST 2004


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12657

Modified Files:
      Tag: release23-maint
	_bsddb.c 
Log Message:
SF bug 1017405: DB keys() values() and items() methods were ignoring
their txn argument.


Index: _bsddb.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_bsddb.c,v
retrieving revision 1.17.6.4
retrieving revision 1.17.6.5
diff -u -d -r1.17.6.4 -r1.17.6.5
--- _bsddb.c	16 Mar 2004 07:47:45 -0000	1.17.6.4
+++ _bsddb.c	4 Sep 2004 01:41:01 -0000	1.17.6.5
@@ -2409,7 +2409,7 @@
 
     /* 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();
 



More information about the Python-checkins mailing list