[Python-checkins] python/dist/src/Modules _bsddb.c,1.29,1.30

greg at users.sourceforge.net greg at users.sourceforge.net
Tue Mar 16 01:57:01 EST 2004


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

Modified Files:
	_bsddb.c 
Log Message:
fixes SF bug 914019 - DB.has_key was not honoring its txn argument


Index: _bsddb.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_bsddb.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** _bsddb.c	26 Feb 2004 10:07:14 -0000	1.29
--- _bsddb.c	16 Mar 2004 06:56:58 -0000	1.30
***************
*** 98,102 ****
  #endif
  
! #define PY_BSDDB_VERSION "4.2.5"
  static char *rcs_id = "$Id$";
  
--- 98,102 ----
  #endif
  
! #define PY_BSDDB_VERSION "4.2.6"
  static char *rcs_id = "$Id$";
  
***************
*** 2402,2406 ****
  
      MYDB_BEGIN_ALLOW_THREADS;
!     err = self->db->get(self->db, NULL, &key, &data, 0);
      MYDB_END_ALLOW_THREADS;
      FREE_DBT(key);
--- 2402,2406 ----
  
      MYDB_BEGIN_ALLOW_THREADS;
!     err = self->db->get(self->db, txn, &key, &data, 0);
      MYDB_END_ALLOW_THREADS;
      FREE_DBT(key);




More information about the Python-checkins mailing list