From 916b17ef3f504a5ac208617e76204e0801e301e3 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 10 Jan 2024 10:27:54 -0600 Subject: [PATCH] Fix review comment --- modules/database/test/ioc/db/dbStressLock.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/database/test/ioc/db/dbStressLock.c b/modules/database/test/ioc/db/dbStressLock.c index f5722cd32..d71fca8ac 100644 --- a/modules/database/test/ioc/db/dbStressLock.c +++ b/modules/database/test/ioc/db/dbStressLock.c @@ -59,6 +59,9 @@ static unsigned int nrecords; #define MAXLOCK 20 +/* Verbose output from test if you set this to 1 */ +#define MULTI_DIAG 0 + static dbCommon **precords; typedef struct { @@ -120,7 +123,7 @@ void doMulti(workerPriv *p) } dbScanUnlockMany(locker); - if (0) + if (MULTI_DIAG) testDiag("sum = %d", sum); dbLockerFree(locker);