Skip to content

Commit ccb3090

Browse files
committed
fix warnings introduced by 8514306
1 parent c416fb5 commit ccb3090

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

multimaster.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,15 @@ void MtmReleaseLocks(void)
318318
* locks[N+1..2*N] are used to synchronize access to distributed lock graph at each node
319319
* -------------------------------------------
320320
*/
321+
322+
//#define DEBUG_MTM_LOCK 1
323+
324+
#if DEBUG_MTM_LOCK
321325
static timestamp_t MtmLockLastReportTime;
322326
static timestamp_t MtmLockElapsedWaitTime;
323327
static timestamp_t MtmLockMaxWaitTime;
324328
static size_t MtmLockHitCount;
325-
326-
//#define DEBUG_MTM_LOCK 1
329+
#endif
327330

328331
void MtmLock(LWLockMode mode)
329332
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy