We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c416fb5 commit ccb3090Copy full SHA for ccb3090
multimaster.c
@@ -318,12 +318,15 @@ void MtmReleaseLocks(void)
318
* locks[N+1..2*N] are used to synchronize access to distributed lock graph at each node
319
* -------------------------------------------
320
*/
321
+
322
+//#define DEBUG_MTM_LOCK 1
323
324
+#if DEBUG_MTM_LOCK
325
static timestamp_t MtmLockLastReportTime;
326
static timestamp_t MtmLockElapsedWaitTime;
327
static timestamp_t MtmLockMaxWaitTime;
328
static size_t MtmLockHitCount;
-
-//#define DEBUG_MTM_LOCK 1
329
+#endif
330
331
void MtmLock(LWLockMode mode)
332
{
0 commit comments