| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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. | ||||
| * | - bsddb: multithreaded DB access using the simple bsddb module interface | Gregory P. Smith | 2006-06-15 | 2 | -31/+39 |
| | | | | | | | now works reliably. It has been updated to use automatic BerkeleyDB deadlock detection and the bsddb.dbutils.DeadlockWrap wrapper to retry database calls that would previously deadlock. [SF python bug #775414] | ||||
| * | Fix errors found by pychecker | Neal Norwitz | 2006-06-11 | 2 | -3/+9 |
| | | |||||
| * | pasted set_lk_detect line in wrong spot in previous commit. fixed. passes ↵ | Gregory P. Smith | 2006-06-08 | 1 | -1/+1 |
| | | | | | tests this time. | ||||
| * | * Turn the deadlock situation described in SF bug #775414 into a | Gregory P. Smith | 2006-06-08 | 2 | -0/+11 |
| | | | | | | DBDeadLockError exception. * add the test case for my previous dbtables commit. | ||||
| * | - bsddb: the bsddb.dbtables Modify method now raises the proper error and | Gregory P. Smith | 2006-06-08 | 1 | -18/+25 |
| | | | | | | | | | | aborts the db transaction safely when a modifier callback fails. Fixes SF python patch/bug #1408584. Also cleans up the bsddb.dbtables docstrings since thats the only documentation that exists for that unadvertised module. (people really should really just use sqlite3) | ||||
| * | 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] | ||||
| * | Whitespace normalization. | Tim Peters | 2006-06-05 | 1 | -3/+2 |
| | | |||||
| * | 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 | 2 | -6/+42 |
| | | |||||
| * | * support DBEnv.lsn_reset() method on BerkeleyDB >= 4.4 [patch #1494902] | Gregory P. Smith | 2006-06-05 | 1 | -2/+8 |
| | | |||||
| * | Whitespace normalization. | Tim Peters | 2006-06-05 | 1 | -2/+2 |
| | | |||||
| * | * support DBEnv.log_stat() method on BerkeleyDB >= 4.0 [patch #1494885] | Gregory P. Smith | 2006-06-05 | 2 | -0/+10 |
| | | |||||
| * | 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 |
| | | |||||
| * | Fixes bug #1117761 | Gregory P. Smith | 2006-04-12 | 1 | -7/+9 |
| | | | | | | | | | | bsddb.*open() methods cachesize parameter wouldn't work (raised an internal bsddb.db exception when it was given). The set_cachesize call needed to be moved from the DB object to the DBEnv since the env was introduced to allow for threading. (will backport to 2.4) | ||||
| * | Closes bug #1149413 | Gregory P. Smith | 2006-04-12 | 1 | -1/+1 |
| | | | | | | | | Using None for a filename with the 'n' flag when calling bsddb.btopen would cause an error while checking if the file None existed. error not likely to be seen as anyone using None for a filename would likely use the 'c' flag in the first place. | ||||
| * | 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. | ||||
| * | Whitespace normalization. | Tim Peters | 2006-02-20 | 1 | -1/+1 |
| | | |||||
| * | Bug #1210377: close bsddb cursor correctly after NotFoundError. | Georg Brandl | 2006-02-20 | 1 | -1/+4 |
| | | |||||
| * | Add a unit test for bug fix #1396678. | Georg Brandl | 2006-02-19 | 2 | -6/+11 |
| | | |||||
| * | Bug #1396678: a closed bsddb.DB raises AttributeError on repr(). | Georg Brandl | 2006-02-19 | 1 | -1/+4 |
| | | | | | It now returns "{}". Is that the correct solution? | ||||
| * | 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 | 2 | -0/+5 |
| | | | | | (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. | ||||
| * | Get BSD DB working most for version 3.2 | Neal Norwitz | 2005-10-20 | 1 | -0/+2 |
| | | |||||
| * | 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 | 3 | -0/+218 |
| | | | | | | | functions written in python. contributed by <frederic.gobry@epfl.ch> | ||||
| * | Patch #1112812: Make bsddb/__init__.py more friendly for modulefinder. | Martin v. Löwis | 2005-03-03 | 1 | -2/+2 |
| | | | | | Backported to 2.4. | ||||
| * | Simplify string comparison using startswith() | Steve Holden | 2005-02-02 | 1 | -1/+1 |
| | | |||||
| * | Purged Berkeley code of references to the long-obsolete whrandom. | Tim Peters | 2004-08-08 | 3 | -5/+4 |
| | | |||||
| * | 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 | 2 | -0/+27 |
| | | | | | | 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. | ||||
| * | Fix SF bug # 897820 - we can no longer use the DB_TRUNCATE flag when | Gregory P. Smith | 2004-06-27 | 1 | -6/+11 |
| | | | | | | | opening the DB to implement legacy interface flag='n' support as BerkeleyDB 4.2.52 no longer allows it in transaction protected environments. Do the os.unlink ourselves. | ||||
| * | * supply a more useful error message when append() is called on the | Gregory P. Smith | 2004-03-16 | 1 | -2/+8 |
| | | | | | | wrong type of database in dbshelve. * fix a typo in the exception name when checking args | ||||
| * | 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 | 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(). | ||||
