summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2011-09-14tdb2: fix prototypes which return enum TDB_ERROR.Rusty Russell2-10/+10
2011-09-14tdb2: fix return handling in pytdb wrapper.Rusty Russell1-8/+10
2011-09-14tdb2: add error conversion functions.Rusty Russell12-91/+97
2011-09-14tdb2: set tdb_error() on tdb_transaction_prepare_commit.Rusty Russell1-1/+1
2011-09-14tdb2: make tests work in parallel.Rusty Russell6-6/+6
2011-09-14tdb2: fix error handling for tdb1_transaction_commit.Rusty Russell1-1/+2
2011-09-14tdb2: don't return -1 (ie. TDB_ERR_CORRUPT) on transaction write fail.Rusty Russell1-1/+1
2011-09-14tdb2: enhance tdb1 porting document.Rusty Russell1-0/+28
2011-09-14tdb2: delete old tdb1 tests.Rusty Russell2-394/+0
2011-09-14tdb2: test: Speed up run-01-new_database.Rusty Russell2-7/+78
2011-09-14tdb2: speed up testing.Rusty Russell2-5/+7
2011-09-14tdb2: test: convert (non-invasive) run tests to api tests.Rusty Russell23-23/+115
2011-09-14tdb2: test: fix run-57-die-during-transaction.c to be more efficient.Rusty Russell3-3/+18
2011-09-14tdb2: don't continue if tdb1_find fails.Rusty Russell1-16/+37
2011-09-14tdb2: test: try (almost) all tests with TDB_VERSION1 flag.Rusty Russell33-128/+364
2011-09-14tdb2: log allocation failures in tdb1 backend.Rusty Russell4-12/+30
2011-09-14tdb2: fix bogus error from tdb_unlockall() after fork in tdb1 backend.Rusty Russell1-3/+3
2011-09-14tdb2: check lock owner in tdb1 backend.Rusty Russell3-27/+88
2011-09-14tdb2: return TDB_ERR_RDONLY from transactions on R/O databases, log nestingRusty Russell2-8/+25
2011-09-14tdb2: add stats to tdb1 backend.Rusty Russell4-5/+26
2011-09-14tdb2: increment seqnum on tdb_wipe_all in tdb1 backend.Rusty Russell1-0/+1
2011-09-14tdb2: log an error when calling tdb_store() on read-only TDB in tdb1 backend.Rusty Russell1-1/+3
2011-09-14tdb2: catch errors in tdb1_needs_recovery()Rusty Russell3-9/+23
2011-09-14tdb2: add tdb_attribute_tdb1_max_deadRusty Russell8-68/+41
2011-09-14tdb2: expose and document tdb1_incompatible_hash.Rusty Russell2-2/+12
2011-09-14tdb2: make tdb1_null static.Rusty Russell3-6/+7
2011-09-14tdb2: tdb_repackRusty Russell6-105/+148
2011-09-14tdb2: unify tdb1_wipe into tdb_wipe.Rusty Russell3-2/+7
2011-09-14tdb2: unify tdb1_get_seqnum/tdb1_increment_seqnum into tdb_get_seqnum/tdb_inc...Rusty Russell5-5/+60
2011-09-14tdb2: unify tdb1_firstkey/tdb1_nextkey into tdb_firstkey/tdb_nextkey.Rusty Russell3-4/+26
2011-09-14tdb2: unify tdb1_check and tdb1_summary into tdb_check and tdb_summary.Rusty Russell12-40/+62
2011-09-14tdb2: unify tdb1_transaction_start etc. into tdb_transaction_start.Rusty Russell10-30/+50
2011-09-14tdb2: unify tdb1_parse_record into tdb_parse_recordRusty Russell6-44/+32
2011-09-14tdb2: unify tdb1_chainlock et al. into tdb_chainlockRusty Russell11-71/+57
2011-09-14tdb2: unify tdb1_traverse into tdb_traverseRusty Russell9-26/+40
2011-09-14tdb2: unify tdb1_store into tdb_storeRusty Russell5-6/+10
2011-09-14tdb2: unify tdb1_delete into tdb_delete.Rusty Russell8-10/+16
2011-09-14tdb2: unify tdb1_append into tdb_appendRusty Russell5-4/+11
2011-09-14tdb2: unify tdb1_fetch into tdb_fetchRusty Russell11-30/+32
2011-09-14tdb2: unify tdb1_store into tdb_storeRusty Russell20-37/+47
2011-09-14tdb2: unify tdb1_open into tdb_openRusty Russell30-524/+400
2011-09-14tdb2: disallow SEED attribute with TDB_VERSION1.Rusty Russell2-1/+27
2011-09-14tdb2: add TDB_ATTRIBUTE_TDB1_HASHSIZERusty Russell27-94/+286
2011-09-14tdb2: make tdb1_open use attributes for logging, hash function.Rusty Russell25-210/+229
2011-09-14tdb2: make jenkins_hash function non-static, rename to tdb_jenkins_hash.Rusty Russell5-16/+20
2011-09-14tdb2: remove double-open detection for TDB1 databases.Rusty Russell1-38/+0
2011-09-14tdb2: merge tdb1_context into tdb_context.Rusty Russell44-913/+848
2011-09-14tdb2: use tdb->flags & TDB_RDONLY instead of tdb->read_only for TDB1 code.Rusty Russell10-20/+23
2011-09-14tdb2: Make TDB1 use the same tdb_hash() wrapper as TDB2Rusty Russell12-43/+58
2011-09-14tdb2: don't cancel transactions on lock failures in tdb1 backend.Rusty Russell1-5/+3