Commit 23fbae1f authored by unknown's avatar unknown

Put the DBUG_DUMP inside ifdef DEBUG_DATA_PACKETS

parent 266d2ea4
...@@ -597,7 +597,10 @@ net_real_write(NET *net,const char *packet,ulong len) ...@@ -597,7 +597,10 @@ net_real_write(NET *net,const char *packet,ulong len)
} }
#endif /* HAVE_COMPRESS */ #endif /* HAVE_COMPRESS */
/* DBUG_DUMP("net",packet,len); */ #ifdef DEBUG_DATA_PACKETS
DBUG_DUMP("data",packet,len);
#endif
#ifndef NO_ALARM #ifndef NO_ALARM
thr_alarm_init(&alarmed); thr_alarm_init(&alarmed);
if (net_blocking) if (net_blocking)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment