Skip to content

Commit 9125a7c

Browse files
committed
disable mtm-trace by default
1 parent 230a28b commit 9125a7c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/mmts/multimaster.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@
3232
#define MTM_LOG4(fmt, ...) fprintf(stderr, fmt "\n", ## __VA_ARGS__)
3333
#endif
3434

35+
#ifndef MTM_TRACE
36+
#define MTM_TXTRACE(tx, event)
37+
#else
3538
#define MTM_TXTRACE(tx, event) \
3639
fprintf(stderr, "[MTM_TXTRACE], %s, %lld, %s\n", tx->gid, (long long)MtmGetSystemTime(), event)
40+
#endif
3741

3842
#define MULTIMASTER_NAME "multimaster"
3943
#define MULTIMASTER_SCHEMA_NAME "mtm"

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