summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
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
2011-09-14tdb2: suppress tdb1 backend logging when locking returns EINTR or EAGAINRusty Russell2-9/+17
2011-09-14tdb2: make tdb1 use same low-level lock functions.Rusty Russell6-335/+136
2011-09-14tdb2: Make tdb1 use the tdb_file structure.Rusty Russell12-202/+206
2011-09-14tdb2: add TDB_VERSION1 flag.Rusty Russell2-1/+2
2011-09-14tdb2: Make TDB1 code use TDB2's open flags.Rusty Russell24-165/+67
2011-09-14tdb2: approximate INCOMPATIBLE_HASH flag with tdb1_incompatible_hash()Rusty Russell6-48/+72
2011-09-14tdb2: Make tdb1 share tdb_store flags, struct tdb_data and TDB_MAGIC_FOOD.Rusty Russell27-187/+168
2011-09-14tdb2: make TDB1 code use tdb2's TDB_ERROR and tdb_logerr()Rusty Russell23-397/+489
2011-09-14tdb2: make tdb1 headers include tdb2 headers.Rusty Russell2-29/+4
2011-09-14tdb2: rearrange tdb_context layout so tdb1_context can matchRusty Russell1-16/+16
2011-09-14tdb2: add tdb1 code to build.Rusty Russell1-1/+5
2011-09-14tdb2: remove TDB1 TDB_NO_FSYNC environment variable hack.Rusty Russell1-4/+0
2011-09-14tdb2: get rid of TDB1 mark and nonblock functions.Rusty Russell5-42/+19
2011-09-14tdb2: remove _PUBLIC_ in tdb1 functions.Rusty Russell9-41/+36
2011-09-14tdb2: Remove unused tdb1 functions.Rusty Russell17-710/+17
2011-09-14tdb2: test: import tdb1's tests.Rusty Russell33-0/+2102
2011-09-14tdb2: include tdb1 source in tests.Rusty Russell1-0/+11
2011-09-14tdb2: import TDB1 code.Rusty Russell15-0/+6787