File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ char *join_path(const char *dir, const char *file);
16
16
bool inrange (xid_t min , xid_t x , xid_t max );
17
17
int falloc (int fd , off64_t size );
18
18
19
- #if 1
19
+ #ifdef NDEBUG
20
20
#define shout (...)
21
21
#else
22
22
#define shout (...) \
Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ static void clear_global_transaction(GlobalTransaction *t) {
60
60
}
61
61
}
62
62
63
+ #ifdef NDEBUG
64
+ #define shout_cmd (...)
65
+ #else
63
66
static void shout_cmd (void * client , cmd_t * cmd ) {
64
67
char * cmdname ;
65
68
switch (cmd -> cmd ) {
@@ -77,6 +80,7 @@ static void shout_cmd(void *client, cmd_t *cmd) {
77
80
}
78
81
shout ("\n" );
79
82
}
83
+ #endif
80
84
81
85
static char * onbegin (void * client , cmd_t * cmd ) {
82
86
if (transactions_count >= MAX_TRANSACTIONS ) {
You can’t perform that action at this time.
0 commit comments