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

Commit 705a662

Browse files
committed
disable mtm-trace by default
1 parent 9dff142 commit 705a662

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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)