Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+5-2
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)