Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit262e1a3

Browse files
committed
use elog instead of printf in TXTRACE to avoid interleaved log messages
1 parent0fcc2eb commit262e1a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contrib/mmts/multimaster.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
#defineMTM_TXTRACE(tx,event, ...)
4848
#else
4949
#defineMTM_TXTRACE(tx,event, ...) \
50-
fprintf(stderr, MTM_TAG "%s, %lld, %u " event "\n", tx->gid, (long long)MtmGetSystemTime(), MyProcPid, ## __VA_ARGS__)
50+
elog(LOG, MTM_TAG "%s, %lld, %u " event "\n", tx->gid, (long long)MtmGetSystemTime(), MyProcPid, ## __VA_ARGS__)
5151
#endif
5252

5353
#defineMULTIMASTER_NAME "multimaster"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp