From 77670a2ec33275ae08a37606ee15bf0170b7fcb3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 29 Aug 2005 13:45:13 +0000 Subject: r9738: Adapt tdb_torture to the new CLEAR_IF_FIRST semantics. We need one parent process holding the active if two cluster nodes access the same tdb. Volker (This used to be commit cbc66cc3cab0e1db31402505214c83e1be92663b) --- source3/tdb/tdbtorture.c | 66 ++++++++++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'source3') diff --git a/source3/tdb/tdbtorture.c b/source3/tdb/tdbtorture.c index 3f704e537e..d03cc2a610 100644 --- a/source3/tdb/tdbtorture.c +++ b/source3/tdb/tdbtorture.c @@ -183,45 +183,45 @@ int main(int argc, char *argv[]) int loops = NLOOPS; pid_t pids[NPROC]; - pids[0] = getpid(); - - for (i=0;i