diff options
author | unknown <msvensson@neptunus.(none)> | 2006-12-14 21:48:08 +0100 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-12-14 21:48:08 +0100 |
commit | 23fbae1f1946fadbf81dc23b8a20a4af1f0e171a (patch) | |
tree | 19bf4f7ba81db613d9074f5d67d491e36911b56c /sql/net_serv.cc | |
parent | 266d2ea4476ac50cc0380739712cc4cdcdac6ec4 (diff) | |
download | mariadb-git-23fbae1f1946fadbf81dc23b8a20a4af1f0e171a.tar.gz |
Put the DBUG_DUMP inside ifdef DEBUG_DATA_PACKETS
Diffstat (limited to 'sql/net_serv.cc')
-rw-r--r-- | sql/net_serv.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/net_serv.cc b/sql/net_serv.cc index e84b2266e82..3037007ae35 100644 --- a/sql/net_serv.cc +++ b/sql/net_serv.cc @@ -597,7 +597,10 @@ net_real_write(NET *net,const char *packet,ulong len) } #endif /* HAVE_COMPRESS */ - /* DBUG_DUMP("net",packet,len); */ +#ifdef DEBUG_DATA_PACKETS + DBUG_DUMP("data",packet,len); +#endif + #ifndef NO_ALARM thr_alarm_init(&alarmed); if (net_blocking) |