Skip to content

Commit

Permalink
Fix review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
anjohnson committed Jun 28, 2024
1 parent d947663 commit 2ebe6be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/database/test/ioc/db/dbStressLock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -120,7 +123,7 @@ void doMulti(workerPriv *p)
}
dbScanUnlockMany(locker);

if (0)
if (MULTI_DIAG)
testDiag("sum = %d", sum);

dbLockerFree(locker);
Expand Down

0 comments on commit 2ebe6be

Please sign in to comment.