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);
1616bool inrange (xid_t min , xid_t x , xid_t max );
1717int falloc (int fd , off64_t size );
1818
19- #if 1
19+ #ifdef NDEBUG
2020#define shout (...)
2121#else
2222#define shout (...) \
Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ static void clear_global_transaction(GlobalTransaction *t) {
6060 }
6161}
6262
63+ #ifdef NDEBUG
64+ #define shout_cmd (...)
65+ #else
6366static void shout_cmd (void * client , cmd_t * cmd ) {
6467 char * cmdname ;
6568 switch (cmd -> cmd ) {
@@ -77,6 +80,7 @@ static void shout_cmd(void *client, cmd_t *cmd) {
7780 }
7881 shout ("\n" );
7982}
83+ #endif
8084
8185static char * onbegin (void * client , cmd_t * cmd ) {
8286 if (transactions_count >= MAX_TRANSACTIONS ) {
You can’t perform that action at this time.
0 commit comments