| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | * fix failing test_recno.py - backport from trunk. | Gregory P. Smith | 2007-11-07 | 1 | -5/+5 |
| | | | | | * bump _bsddb patch version number. | ||||
| * | Backport r58757, r58758, r58759. | Gregory P. Smith | 2007-11-01 | 2 | -7/+23 |
| | | | | | | | | | | | | | | | | | | | | | Undoes incorrect dbtables fix and errant strdup introduced as described below: r58757 | gregory.p.smith | 2007-11-01 14:08:14 -0700 (Thu, 01 Nov 2007) | 4 lines Fix bug introduced in revision 58385. Database keys could no longer have NULL bytes in them. Replace the errant strdup with a malloc+memcpy. Adds a unit test for the correct behavior. r58758 | gregory.p.smith | 2007-11-01 14:15:36 -0700 (Thu, 01 Nov 2007) | 3 lines Undo revision 58533 58534 fixes. Those were a workaround for a problem introduced by 58385. r58759 | gregory.p.smith | 2007-11-01 14:17:47 -0700 (Thu, 01 Nov 2007) | 2 lines false "fix" undone as correct problem was found and fixed. | ||||
| * | Backport 58539: squelch the warning that this test is intended to raise. | Gregory P. Smith | 2007-10-19 | 1 | -2/+7 |
| | | |||||
| * | Backport 58532, 58533, 58534: | Gregory P. Smith | 2007-10-18 | 2 | -17/+13 |
| | | | | | | | | | | - Fix bsddb.dbtables: Don't randomly corrupt newly inserted rows by picking a rowid string with null bytes in it. Such rows could not later be deleted, modified or individually selected. Existing bsdTableDb databases created with such rows are out of luck. - Use mkdtemp for the test_dbtables test database environment and clean it up afterwards using shutil.rmtree. | ||||
| * | Backport 58450: fix uncollectable reference leak in bsddb.db.DBShelf.append | Gregory P. Smith | 2007-10-13 | 1 | -2/+1 |
| | | |||||
| * | Merge trunk 58434: | Gregory P. Smith | 2007-10-12 | 2 | -23/+78 |
| | | | | | | | Fixes http://bugs.python.org/issue1233 - bsddb.dbshelve.DBShelf.append was useless due to inverted logic. Also adds a test case for RECNO dbs to test_dbshelve. | ||||
| * | Backport 58385 from trunk: fix a double free bug in the _bsddb module | Gregory P. Smith | 2007-10-09 | 1 | -0/+20 |
| | | | | | on DBCursor.get (and a friends) when passing in a string key. | ||||
| * | backport of r58023 to fix unit test suite issue1112 on windows | Gregory P. Smith | 2007-09-06 | 1 | -9/+22 |
| | | |||||
| * | backport of r57378 to fix bug 1725856 | Gregory P. Smith | 2007-08-24 | 1 | -0/+4 |
| | | |||||
| * | Back port of r57286 from py3k and trunk | Gregory P. Smith | 2007-08-23 | 1 | -1/+9 |
| | | | | | | | | | ------------------------------------------------------------------------ r57286 | gregory.p.smith | 2007-08-22 14:32:34 -0700 (Wed, 22 Aug 2007) | 3 lines stop leaving log.0000001 __db.00* and xxx.db turds in developer sandboxes when bsddb3 tests are run. | ||||
| * | support linking the _bsddb extension module against BerkeleyDB 4.5 | Gregory P. Smith | 2007-01-05 | 2 | -3/+4 |
| | | | | | [backport of r53252] | ||||
| * | Oops, convert tabs to spaces | Neal Norwitz | 2006-11-21 | 1 | -2/+2 |
| | | |||||
| * | Backport of 52811: | Neal Norwitz | 2006-11-21 | 1 | -0/+4 |
| | | | | | | | | | | Bug #1599782: Fix segfault on bsddb.db.DB().type(). 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. | ||||
| * | 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 | ||||
