Content-Length: 271172 | pFad | http://github.com/postgrespro/postgres_cluster/commit/fc041ff76e50bcc96c52b04deb20766415a92428

1B fix warnings introduced by 8514306d · postgrespro/postgres_cluster@fc041ff · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/fc041ff76e50bcc96c52b04deb20766415a92428

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy