[Patches] [ python-Patches-1017405 ] bsddb's DB.keys() method
ignores transaction argument
SourceForge.net
noreply at sourceforge.net
Sat Sep 4 03:41:50 CEST 2004
Patches item #1017405, was opened at 2004-08-26 23:01
Message generated for change (Comment added) made by greg
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: Closed
>Resolution: Fixed
Priority: 6
Submitted By: Jp Calderone (kuran)
>Assigned to: Gregory P. Smith (greg)
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: Gregory P. Smith (greg)
Date: 2004-09-03 18:41
Message:
Logged In: YES
user_id=413
thanks. i've committed the fix to HEAD and to release23_maint.
----------------------------------------------------------------------
Comment By: Jp Calderone (kuran)
Date: 2004-08-30 07: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 09: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