summaryrefslogtreecommitdiffstats
path: root/Modules/_bsddb.c
Commit message (Collapse)AuthorAgeFilesLines
* heck environment closed status before closing a cursors. Fixes #763928.Martin v. Löwis2003-07-151-1/+8
|
* bsddb 4.1.6:Gregory P. Smith2003-07-091-41/+110
| | | | | | | | | | | * 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.
* Fix a typo/cut-n-paste error in DBCursor.join_item so that it doesn'tGregory P. Smith2003-07-071-1/+1
| | | | | return a tuple. (this also implies that nobody uses this method; the bug has been here for a long time)
* DB.remove() needs to set the internal DB handle to NULL after being called.Gregory P. Smith2003-05-151-4/+1
| | | | | | | (sourceforge pybsddb bug #737970). Also: don't allow other threads to run during calls that invalidate the DB handle.
* Added a comment about backward compatibility requirements and a linkBarry Warsaw2003-04-241-1/+9
| | | | to the PyBSDDB project at SourceForge.
* Update to the new PyGILState APIs to simplify and correct thread-stateMark Hammond2003-04-221-2/+15
| | | | | management. Old code still #ifdef'd out - I may remove this in a sec, but for now, let's get it in and things passing the tests again!
* init_bsddb(): Added a few symbols that Greg forgot.Barry Warsaw2003-03-311-1/+4
|
* 4.1.5Gregory P. Smith2003-03-271-1/+1
|
* Adds support for the DBEnv->set_timeout() method.Gregory P. Smith2003-03-271-0/+26
|
* version 4.1.4 (4.1.3 just released)Gregory P. Smith2003-02-031-1/+1
|
* Bump the version numberBarry Warsaw2003-01-281-1/+1
|
* bugfix: do not double-close DB cursor during deallocation when theGregory P. Smith2003-01-171-1/+3
| | | | | | | | | | 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: allow the module to work with python compiled without thread support.Gregory P. Smith2003-01-171-0/+2
| | | | closes sourceforge pybsddb bug id 669533.
* bugfix: disallow use of DB_TXN after commit() or abort(), prevents aGregory P. Smith2003-01-171-5/+37
| | | | | | | | | 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.
* Port BerkeleyDB 4.1 support from the pybsddb project. bsddb is now atBarry Warsaw2002-12-301-74/+333
| | | | version 4.1.1 and works with up to BerkeleyDB 4.1.25.
* Merge with bsddb3 2002.11.23.10.42.36Martin v. Löwis2002-11-231-8/+16
|
* Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185.Martin v. Löwis2002-11-191-0/+4246