Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fc041ff

Browse files
committed
fix warnings introduced by 8514306
1 parent c5fa0ff commit fc041ff

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

contrib/mmts/multimaster.c

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

327330
void MtmLock(LWLockMode mode)
328331
{

0 commit comments

Comments
 (0)