summaryrefslogtreecommitdiffstats
path: root/source/tdb/tdbtorture.c
Commit message (Collapse)AuthorAgeFilesLines
* Added tdb_append() call. Efficiently adds to an entry. Used by new messagingJeremy Allison2003-01-111-0/+10
| | | | | code. Also added torture tests for it. Jeremy.
* Fix up warnings. Make tdb_openXX() names const.Jeremy Allison2001-12-111-4/+4
| | | | Jeremy.
* Fix headers. This I know is correct.Martin Pool2001-12-041-0/+1
|
* undoMartin Pool2001-12-041-2/+2
|
* Implement suggestion from tridge to leave the old tdb_open interfaceMartin Pool2001-12-041-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.
* Better error handling:Martin Pool2001-12-041-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.
* fixed compilation of tdbtortureAndrew Tridgell2001-09-271-0/+5
|
* tdbtorture updates from when I was trying to track down the hp tdb bugAndrew Tridgell2001-09-241-12/+50
|
* flush stdout in test logging fnsAndrew Tridgell2001-09-061-0/+1
|
* use a different test tdb name for tdbtest and tdbtortureAndrew Tridgell2001-09-061-1/+1
|
* - fixed an off-by-1 bug in the delayed deletion code that I believeAndrew Tridgell2001-05-301-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
* try to make the tailer code much more robust. When a recordAndrew Tridgell2001-05-281-1/+12
| | | | | | | can't be merged don't fail the operation, instead just add it to the free list anyway added logging to tdb
* Oops - put back filename argument to tdb_open().Tim Potter2000-02-281-1/+1
|
* Modifications to tdb_traverse() arguments to remove compile warnings.Tim Potter2000-02-281-2/+3
|
* tdb_traverse() now takes three arguments.Tim Potter2000-02-161-3/+3
|
* - added tdb_flags option to tdb_open()Andrew Tridgell2000-01-021-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
* a useful locking tester - it uses lots of simultaneous writersAndrew Tridgell1999-12-241-0/+117