Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix a double free when positioning a database cursor to a non-existant | Gregory P. Smith | 2007-10-09 | 1 | -0/+20 | |
| | | | | | | string key (and probably a few other situations with string keys). This was reported with a patch as pybsddb sourceforge bug 1708868 by jjjhhhlll at gmail. | |||||
* | email address update | Gregory P. Smith | 2007-09-09 | 1 | -1/+1 | |
| | ||||||
* | Apply the fix from Issue1112 to make this test more robust and keep | Gregory P. Smith | 2007-09-06 | 1 | -9/+22 | |
| | | | | windows happy. | |||||
* | stop leaving log.0000001 __db.00* and xxx.db turds in developer | Gregory P. Smith | 2007-08-22 | 1 | -1/+9 | |
| | | | | sandboxes when bsddb3 tests are run. | |||||
* | Give some clue as to what happened if the test fails. | Neal Norwitz | 2007-05-19 | 1 | -1/+1 | |
| | ||||||
* | [Patch #1520904] Fix bsddb tests to write to the temp directory instead of ↵ | Andrew M. Kuchling | 2007-01-05 | 11 | -14/+17 | |
| | | | | the Lib/bsddb/test directory | |||||
* | Support linking of the bsddb module against BerkeleyDB 4.5.x | Gregory P. Smith | 2007-01-05 | 1 | -1/+1 | |
| | | | | (will backport to 2.5) | |||||
* | Oops, convert tabs to spaces | Neal Norwitz | 2006-11-21 | 1 | -2/+2 | |
| | ||||||
* | Bug #1599782: Fix segfault on bsddb.db.DB().type(). | Neal Norwitz | 2006-11-21 | 1 | -0/+4 | |
| | | | | | | | | | The problem is that _DB_get_type() can't be called without the GIL because it calls a bunch of PyErr_* APIs when an error occurs. There were no other cases in this file that it was called without the GIL. Removing the BEGIN/END THREAD around _DB_get_type() made everything work. Will backport. | |||||
* | This was found by Guido AFAIK on p3yk (sic) branch. | Neal Norwitz | 2006-09-05 | 1 | -1/+1 | |
| | ||||||
* | - pybsddb Bug #1527939: bsddb module DBEnv dbremove and dbrename | Gregory P. Smith | 2006-07-28 | 1 | -6/+31 | |
| | | | | | | | methods now allow their database parameter to be None as the sleepycat API allows. Also adds an appropriate test case for DBEnv.dbrename and dbremove. | |||||
* | * Turn the deadlock situation described in SF bug #775414 into a | Gregory P. Smith | 2006-06-08 | 1 | -0/+10 | |
| | | | | | DBDeadLockError exception. * add the test case for my previous dbtables commit. | |||||
* | Add missing svn:eol-style property to text files. | Tim Peters | 2006-06-05 | 1 | -65/+65 | |
| | ||||||
* | * fix DBCursor.pget() bug with keyword argument names when no data= is | Gregory P. Smith | 2006-06-05 | 2 | -0/+66 | |
| | | | | supplied [SF pybsddb bug #1477863] | |||||
* | forgot to add this file in previous commit | Gregory P. Smith | 2006-06-05 | 1 | -0/+112 | |
| | ||||||
* | * add support for DBSequence objects [patch #1466734] | Gregory P. Smith | 2006-06-05 | 1 | -6/+7 | |
| | ||||||
* | * support DBEnv.log_stat() method on BerkeleyDB >= 4.0 [patch #1494885] | Gregory P. Smith | 2006-06-05 | 1 | -0/+7 | |
| | ||||||
* | bugfix: when log_archive was called with the DB_ARCH_REMOVE flag present | Gregory P. Smith | 2006-06-05 | 1 | -0/+3 | |
| | | | | | | | in BerkeleyDB >= 4.2 it tried to construct a list out of an uninitialized char **log_list. feature: export the DB_ARCH_REMOVE flag by name in the module on BerkeleyDB >= 4.2. | |||||
* | BaseThreadedTestCase.setup(): stop special-casing WindowsError. | Tim Peters | 2006-05-11 | 1 | -2/+0 | |
| | | | | | Rev 45964 fiddled with WindowsError, and broke test_bsddb3 on all the Windows buildbot slaves as a result. This should repair it. | |||||
* | Handle ERROR_ALREADY_EXISTS. | Martin v. Löwis | 2006-05-06 | 1 | -0/+8 | |
| | ||||||
* | Fix bsddb.db.DBError derived exceptions so they can be unpickled. | Gregory P. Smith | 2006-04-08 | 2 | -0/+76 | |
| | | | | | Also adds some backwards compatibility when compiling _bsddb.c on earlier python versions (needed for pybsddb). | |||||
* | Plug the last 657 referenceleaks in test_bsddb3: a circular reference | Thomas Wouters | 2006-03-12 | 1 | -0/+5 | |
| | | | | | | | between a TestCase instance, the database it opened (or a cursor to a database) and a bound method as a registered database callback, and a lack of GC-handling in bsddb caused the TestCases to linger. Fix the test, for now, as backward compatibility makes adding GC to bsddb annoying. | |||||
* | Add a unit test for bug fix #1396678. | Georg Brandl | 2006-02-19 | 1 | -2/+8 | |
| | ||||||
* | fix test import for use in standalone pybsddb project bsddb3 module as well | Gregory P. Smith | 2006-01-29 | 1 | -1/+6 | |
| | | | | as python builtin bsddb. | |||||
* | Add wrapper for DBEnv.set_tx_timeout method to allow time based DB_RECOVER | Gregory P. Smith | 2006-01-27 | 1 | -0/+3 | |
| | | | | (test cases and dbobj wrapping) | |||||
* | Fix bug #1413192, fix seg fault in bsddb if a txn was deleted before the env. | Neal Norwitz | 2006-01-25 | 2 | -0/+22 | |
| | | | | Will backport. | |||||
* | fix import to work with either module name. | Gregory P. Smith | 2005-06-09 | 1 | -1/+6 | |
| | ||||||
* | Tools/scripts/reindent.py _is_ your friend | Anthony Baxter | 2005-06-08 | 4 | -116/+116 | |
| | ||||||
* | fix more Errors (not Failures) when run using BerkeleyDB <= 4.0 | Gregory P. Smith | 2005-06-06 | 1 | -4/+13 | |
| | ||||||
* | fix Errors (not Failures) in test cases when running with BerkeleyDB<4.2 | Gregory P. Smith | 2005-06-06 | 1 | -32/+61 | |
| | ||||||
* | make the tests that expect uncatchable exceptions from a callback test | Gregory P. Smith | 2005-06-06 | 1 | -19/+48 | |
| | | | | | | for them in a roundabout way (catching and parsing stderr) keeps test output clean. | |||||
* | test case for pybsddb SF bug id 1215432 | Gregory P. Smith | 2005-06-06 | 1 | -0/+50 | |
| | ||||||
* | test DB.associate using transactions. somewhat related to SF pybsddb | Gregory P. Smith | 2005-06-06 | 1 | -12/+46 | |
| | | | | bug #1215432 | |||||
* | pybsddb 4.3.2: | Gregory P. Smith | 2005-06-04 | 2 | -9/+33 | |
| | | | | | | | | | | | * the has_key() method was not raising a DBError when a database error had occurred. [SF patch id 1212590] * added a wrapper for the DBEnv.set_lg_regionmax method [SF patch id 1212590] * DBKeyEmptyError now derives from KeyError just like DBNotFoundError. * internally everywhere DB_NOTFOUND was checked for has been updated to also check for DB_KEYEMPTY. This fixes the semantics of a couple operations on recno and queue databases to be more intuitive and results in less unexpected DBKeyEmptyError exceptions being raised. | |||||
* | Whitespace normalization. | Tim Peters | 2005-06-03 | 1 | -186/+186 | |
| | ||||||
* | pybsddb 4.3.1, adds support for DB.set_bt_compare database btree comparison | Gregory P. Smith | 2005-06-03 | 2 | -0/+216 | |
| | | | | | | functions written in python. contributed by <frederic.gobry@epfl.ch> | |||||
* | Purged Berkeley code of references to the long-obsolete whrandom. | Tim Peters | 2004-08-08 | 2 | -2/+1 | |
| | ||||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 1 | -3/+3 | |
| | ||||||
* | Adds support for DB.pget and DBCursor.pget methods. | Gregory P. Smith | 2004-06-28 | 1 | -0/+25 | |
| | | | | | Based on a patch supplied by Ian Ward <ian@arevco.ca> on the pybsddb mailing list 2004-03-26. | |||||
* | SF patch / bug #967763 | Gregory P. Smith | 2004-06-27 | 1 | -0/+9 | |
| | | | | | | | | | | | | Fix memory leaks revealed by valgrind and ensuing code inspection. In the existing test suite valgrind revealed two memory leaks (DB_get and DBC_set_range). Code inspection revealed that there were many other potential similar leaks (many on odd code error paths such as passing something other than a DBTxn object for a txn= parameter or in the face of an out of memory error). The most common case that would cause a leak was when using recno or queue format databases with integer keys, sometimes only with an exception exit. | |||||
* | bugfix for people executing test_all to run the test suite. (call the | Gregory P. Smith | 2004-03-16 | 1 | -1/+1 | |
| | | | | correct function) | |||||
* | Fixes SF bug # 778421 | Gregory P. Smith | 2004-02-26 | 2 | -3/+28 | |
| | | | | | | | | | * 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(). | |||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 3 | -7/+7 | |
| | | | | From SF patch #852334. | |||||
* | __init__.py: keep it compatible with older python (True and False == 1 and 0) | Gregory P. Smith | 2004-01-13 | 1 | -4/+15 | |
| | | | | test_basics.py: updated for the set_get_returns_none() default of 2 change. | |||||
* | bsddb3 4.2.2, adds DBCursor.get_current_size() method to return the length | Gregory P. Smith | 2003-10-01 | 1 | -36/+36 | |
| | | | | of the current value without reading the value itself. | |||||
* | Adds basic support for BerkeleyDB 4.2.x. Compiles and passes tests; new | Gregory P. Smith | 2003-09-21 | 15 | -45/+45 | |
| | | | | | | | | | | features in BerkeleyDB not exposed. notably: the DB_MPOOLFILE interface has not yet been wrapped in an object. Adds support for building and installing bsddb3 in python2.3 that has an older version of this module installed as bsddb without conflicts. The pybsddb.sf.net build/packaged version of the module uses a dynamicly loadable module called _pybsddb rather than _bsddb. | |||||
* | 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 | |
| |