Issue890872
Created on 2004年02月05日 09:08 by mcfletch, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files |
| File name |
Uploaded |
Description |
Edit |
|
bsddb_error_demo.py
|
mcfletch,
2004年02月05日 09:09
|
Test for bsddb set_location error for btree databases |
| Messages (3) |
|
msg19916 - (view) |
Author: Mike C. Fletcher (mcfletch) |
Date: 2004年02月05日 09:08 |
In module \lib\bsddb\__init__.py line 147, the method
set_location() uses self.dbc.set(key) , which raises an
error if the key is not found. It should be using
self.dbc.set_range(key) , which matches the documented
behaviour for btree databases.
Test for correct behaviour is attached.
Behaviour is seen under Python 2.3.3 win32 binary build.
|
|
msg19917 - (view) |
Author: alan johnson (chomo) |
Date: 2004年06月14日 21:07 |
Logged In: YES
user_id=943591
looks like need testcase
|
|
msg19918 - (view) |
Author: Gregory P. Smith (gregory.p.smith) * (Python committer) |
Date: 2004年07月13日 21:14 |
Logged In: YES
user_id=413
this has been fixed in both HEAD and python 2.3 cvs with a
test case. (appears to have been committed a while ago)
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2022年04月11日 14:56:02 | admin | set | github: 39903 |
| 2004年02月05日 09:08:52 | mcfletch | create |