From 9a781a8c6de9513ba5f4cafef41379fae96807c1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 2 Jan 2000 23:00:27 +0000 Subject: - added tdb_flags option to tdb_open() - 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) --- source3/tdb/tdbtorture.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source3/tdb/tdbtorture.c') diff --git a/source3/tdb/tdbtorture.c b/source3/tdb/tdbtorture.c index 1aac6d4a01..3eb462d79e 100644 --- a/source3/tdb/tdbtorture.c +++ b/source3/tdb/tdbtorture.c @@ -93,13 +93,12 @@ int main(int argc, char *argv[]) int i, seed=0; int loops = NLOOPS; - unlink("test.tdb"); - for (i=0;i