summaryrefslogtreecommitdiff
path: root/source3/tdb/tdbtorture.c
AgeCommit message (Collapse)AuthorFilesLines
2003-10-20Merge tridge's tdb updates.Jeremy Allison1-0/+1
Jeremy. (This used to be commit f81fdcc935317f66d562d485a40948c2a8bcbb21)
2003-01-11Added tdb_append() call. Efficiently adds to an entry. Used by new messagingJeremy Allison1-0/+10
code. Also added torture tests for it. Jeremy. (This used to be commit b515525a060a388c6ae0a03006a882c9be2e42b6)
2001-12-11Fix up warnings. Make tdb_openXX() names const.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 9e3581827d91f5fd33fabd5ad4c9a79d63355731)
2001-12-04Fix headers. This I know is correct.Martin Pool1-0/+1
(This used to be commit 58cfea3c2aba5a8309e4084ec8df0cfcb48a4075)
2001-12-04undoMartin Pool1-2/+2
(This used to be commit fc176f15f27686049453552219b56b9de33ceffa)
2001-12-04Implement suggestion from tridge to leave the old tdb_open interfaceMartin Pool1-2/+2
as it was, and add tdb_open_ex() which takes a log callback. I guess this makes more sense since it's a public interface. (This used to be commit 391a65395e6cdc0300f81eb1072a3366cacd1203)
2001-12-04Better error handling:Martin Pool1-1/+1
- tdb_open api changed so that you now pass an error handling callback when opening the file, so that errors detected during opening have somewhere to go. (All calls from the body of Samba to this function go through a wrapper in tdbutil, which has been updated.) - Clean up logic for deciding how to open tdb. Emit log messages if something goes wrong (e.g. bad magic.) - tdbtool now logs errors to stderr. (This used to be commit 0aa800618eab1043d802c04fb1d125cd07936769)
2001-09-27fixed compilation of tdbtortureAndrew Tridgell1-0/+5
(This used to be commit 2f44756233e2655856f003bb15c3898118756b98)
2001-09-24tdbtorture updates from when I was trying to track down the hp tdb bugAndrew Tridgell1-12/+50
(This used to be commit b8d9d1fca3eec5150fb9784f1d0157a82e60cebd)
2001-09-06flush stdout in test logging fnsAndrew Tridgell1-0/+1
(This used to be commit d32ac363a5b4c6978077b1d695c503e22c5782ca)
2001-09-06use a different test tdb name for tdbtest and tdbtortureAndrew Tridgell1-1/+1
(This used to be commit 931bded1c92c812d6aae101a40f453c925054627)
2001-05-30- fixed an off-by-1 bug in the delayed deletion code that I believeAndrew Tridgell1-10/+53
was the initial cause of the connections database becoming corrupt. Note that this bug only happens when doing deletions within a traversal, which is why it has only showed up now - added delete within traversal testing to tdbtorture - added a lot more logging to tdb (This used to be commit 6e1277df9d964c615a3ad876d3b89ff8132081c1)
2001-05-28try to make the tailer code much more robust. When a recordAndrew Tridgell1-1/+12
can't be merged don't fail the operation, instead just add it to the free list anyway added logging to tdb (This used to be commit dda086fdf92fded016afc785f7965a375faae5aa)
2000-02-28Oops - put back filename argument to tdb_open().Tim Potter1-1/+1
(This used to be commit 110ec9923bd2ad729d63f129514f3f1de76de9c1)
2000-02-28Modifications to tdb_traverse() arguments to remove compile warnings.Tim Potter1-2/+3
(This used to be commit d64456b5889f0ee3a8c2108c13789540bfc3d90c)
2000-02-16tdb_traverse() now takes three arguments.Tim Potter1-3/+3
(This used to be commit 2d3e2f8877fb8eb21b4ccf4d7a56f1c625c71780)
2000-01-02- added tdb_flags option to tdb_open()Andrew Tridgell1-3/+2
- added TDB_CLEAR_IF_FIRST flag to clear the database if this is the first attached process. Useful for non-persistent databases like our locking area (this will also make upgrades to new database layouts easier) - use lock_path() in a couple of places - leave connections database open while smbd running - cleaned up some tdb code a little, using macros for constants (This used to be commit 00e9da3ca577527db392aced62f02c69cfee8f4f)
1999-12-24a useful locking tester - it uses lots of simultaneous writersAndrew Tridgell1-0/+117
(This used to be commit 3b3fdd8661cc10057823be4c594e40ca615ca704)