[Patches] [ python-Patches-1017405 ] bsddb's DB.keys() method ignores transaction argument

SourceForge.net noreply at sourceforge.net
Mon Aug 30 16:50:23 CEST 2004


Patches item #1017405, was opened at 2004-08-27 02:01
Message generated for change (Comment added) made by kuran
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1017405&group_id=5470

Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Jp Calderone (kuran)
Assigned to: Nobody/Anonymous (nobody)
Summary: bsddb's DB.keys() method ignores transaction argument

Initial Comment:
_DB_make_list in _bsddb.c's accepts a transaction
argument but ignores it.  This makes db.keys(),
db.values(), and db.items() somewhat broken.

Patch and quick demo attached.


----------------------------------------------------------------------

>Comment By: Jp Calderone (kuran)
Date: 2004-08-30 10:50

Message:
Logged In: YES 
user_id=366566

You're right.  Not sure what I was thinking.  The test
script doesn't even run successfully w/ the patch as
attached.  Passing txn instead of &txn lets it complete
correctly.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2004-08-29 12:00

Message:
Logged In: YES 
user_id=21627

The patch looks wrong to me. Why are you passing &txn, not txn?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1017405&group_id=5470


More information about the Patches mailing list