| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | * closes SF bug/patch 967763 | Gregory P. Smith | 2004-12-19 | 1 | -0/+11 |
| | | | | | | | | | - fixes various memory leaks found by valgrind and a follup closer code inspection of the bsddb module. (merges r1.32 of _bsddb.c and an associated test case) - also merges the one line r1.37 _bsddb.c fix that fixes a leak on the rare DBEnv creation failed error path. | ||||
| * | fix for SF bug #897820 (backport of cvs diff -r1.14 -r1.15 __init__.py) | Gregory P. Smith | 2004-07-13 | 1 | -6/+11 |
| | | | | | Use os.unlink() instead of the BerkeleyDB DB_TRUNCATE flag. | ||||
| * | Remove the offending added bit of a test case that doesn't apply to | Gregory P. Smith | 2004-05-15 | 1 | -5/+0 |
| | | | | | | | | the python 2.3.x branch as the bsddb.set_get_returns_none() default behaviour is different than on 2.4 and leter. (yes a correct test case for this branch could be written; removing this bad test gets things not-failing fastest) | ||||
| * | fix bug related to SF bug id 788421 where DBC.set_range() could call | Gregory P. Smith | 2004-03-16 | 1 | -1/+1 |
| | | | | | free() on something it did not allocate for non B-Tree based databases. | ||||
| * | Fixes SF bsddb module bug 788421: | Gregory P. Smith | 2004-02-26 | 3 | -4/+29 |
| | | | | | | | | | | * Fixed a bug in the compatibility interface set_location() method where it would not properly search to the next nearest key when used on BTree databases. [SF bug id 788421] * Fixed a bug in the compatibility interface set_location() method where it could crash when looking up keys in a hash or recno format database due to an incorrect free(). | ||||
| * | simplify some import statements and clean up a docstring and BerkeleyDB library | Gregory P. Smith | 2003-09-21 | 4 | -15/+5 |
| | | | | | version check to mention that we support versions 3.2 - 4.2. | ||||
| * | Backport Greg's patch (1.7 to 1.8) for backwards code compatability. | Raymond Hettinger | 2003-09-21 | 1 | -18/+30 |
| | | |||||
| * | Fix documentation bugs. | Raymond Hettinger | 2003-09-16 | 1 | -1/+19 |
| | | | | | | Add support for iterators and other mapping methods. Convert tests to unittest format and expand their coverage. | ||||
| * | readerThread(): Add max_retries to both DeadlockWrap() calls. This | Barry Warsaw | 2003-07-21 | 1 | -2/+2 |
| | | | | | may cause some tests to fail but it prevents them from hanging. | ||||
| * | test01_join(): Fix a test failure when run with "python -O". The | Barry Warsaw | 2003-07-21 | 1 | -1/+4 |
| | | | | | setting of sCursor happened in an assert. | ||||
| * | fix to work on python <= 2.1 | Gregory P. Smith | 2003-07-09 | 1 | -2/+2 |
| | | |||||
| * | bugfix: proper import bsddb exists below | Gregory P. Smith | 2003-07-09 | 1 | -1/+0 |
| | | |||||
| * | bsddb 4.1.6: | Gregory P. Smith | 2003-07-09 | 5 | -10/+174 |
| | | | | | | | | | | | | * Extended DB & DBEnv set_get_returns_none functionality to take a "level" instead of a boolean flag. The boolean 0 and 1 values still have the same effect. A value of 2 extends the "return None instead of raising an exception" behaviour to the DBCursor set methods. This will become the default behaviour in pybsddb 4.2. * Fixed a typo in DBCursor.join_item method that made it crash instead of returning a value. Obviously nobody uses it. Wrote a test case for join and join_item. | ||||
| * | Wrap the cursor functions with dbutils.DeadlockWrap to deal with the | Gregory P. Smith | 2003-05-28 | 1 | -2/+2 |
| | | | | | expected DBLockDeadLockErrors. | ||||
| * | Whitespace normalization. | Tim Peters | 2003-04-24 | 3 | -5/+1 |
| | | |||||
| * | Adds support for the DBEnv->set_timeout() method. | Gregory P. Smith | 2003-03-27 | 1 | -1/+7 |
| | | |||||
| * | Fix compatibility for earlier versions of Python (than 2.3), which | Barry Warsaw | 2003-02-08 | 2 | -5/+15 |
| | | | | | doesn't have UserDict.DictMixin. | ||||
| * | SF patch #674396: Apply UserDict.DictMixin to expand dbshelve and dbojb | Raymond Hettinger | 2003-02-05 | 2 | -2/+4 |
| | | | | | to have a full dictionary interface. | ||||
| * | fix for use on python 2.1 | Gregory P. Smith | 2003-02-03 | 1 | -2/+0 |
| | | |||||
| * | Everything worked in both the distutils distro and in Python 2.3cvs, | Barry Warsaw | 2003-01-28 | 18 | -119/+213 |
| | | | | | so merge from the bsddb-bsddb3-schizo-branch back to the trunk. | ||||
| * | bugfix: do not double-close DB cursor during deallocation when the | Gregory P. Smith | 2003-01-17 | 1 | -0/+12 |
| | | | | | | | | | | | underlying DB has already been closed (and thus all of its cursors). This fixes a potential segfault. SF pybsddb bug id 667343 bugfix: close the DB object when raising an exception due to an error during DB.open. This prevents an exception when closing the environment about not all databases being closed. SF pybsddb bug id 667340 | ||||
| * | bugfix: disallow use of DB_TXN after commit() or abort(), prevents a | Gregory P. Smith | 2003-01-17 | 1 | -0/+20 |
| | | | | | | | | | | coredump or segmentation violation. Sourceforge patch ID 664896: http://sourceforge.net/tracker/index.php?func=detail&aid=664896&group_id=13900&atid=313900 The bug was reported on the pybsddb-users mailing list. | ||||
| * | Python 2.1's string module doesn't have ascii_letters, so let's just | Barry Warsaw | 2003-01-10 | 1 | -13/+10 |
| | | | | | hard code it. We want this module to work with Python 2.1 for now. | ||||
| * | Cleanups, and conversion of assert to assertEqual() | Barry Warsaw | 2003-01-10 | 1 | -71/+69 |
| | | |||||
| * | Make two tests non-locale-dependent | Barry Warsaw | 2002-12-31 | 1 | -2/+2 |
| | | |||||
| * | test01_close_dbenv_before_db(): Added an XXX comment that this test is | Barry Warsaw | 2002-12-31 | 1 | -0/+2 |
| | | | | | BerkeleyDB version dependent. | ||||
| * | Port BerkeleyDB 4.1 support from the pybsddb project. bsddb is now at | Barry Warsaw | 2002-12-30 | 21 | -329/+597 |
| | | | | | version 4.1.1 and works with up to BerkeleyDB 4.1.25. | ||||
| * | Template for future tests. | Barry Warsaw | 2002-12-30 | 1 | -7/+4 |
| | | |||||
| * | In class bsdTableDB, add class variables db and env (set to None) to | Guido van Rossum | 2002-12-02 | 1 | -0/+5 |
| | | | | | | prevent close() called from __del__ from bombing out when __init__() fails early. | ||||
| * | Fix typo in except clause (_db should be _bsddb). | Guido van Rossum | 2002-12-02 | 1 | -1/+1 |
| | | |||||
| * | Delete bsddb from sys.modules if _bsddb cannot be imported. | Martin v. Löwis | 2002-11-24 | 1 | -1/+8 |
| | | |||||
| * | Whitespace normalization. | Tim Peters | 2002-11-24 | 14 | -25/+5 |
| | | |||||
| * | Merge with bsddb3 2002.11.23.10.42.36 | Martin v. Löwis | 2002-11-23 | 5 | -39/+84 |
| | | |||||
| * | Replace bsddb3 and _db occurrences. | Martin v. Löwis | 2002-11-19 | 3 | -4/+4 |
| | | |||||
| * | Importing test suite from bsddb3 3.4.0 (with modifications). | Martin v. Löwis | 2002-11-19 | 15 | -0/+3240 |
| | | |||||
| * | Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185. | Martin v. Löwis | 2002-11-19 | 7 | -0/+1638 |
