diff options
author | Xinchen Hui <laruence@php.net> | 2014-07-18 15:52:52 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2014-07-18 16:25:43 +0800 |
commit | 110bf9c720d02b49a1a5d0c6e8affe65f9aa01db (patch) | |
tree | 9d377d071e33efcbbc3c60f3218a557216edfd71 /ext/mysqlnd/mysqlnd_net.c | |
parent | 4e378844abbfbc7fec88d063ee0bf2e9026b6b6a (diff) | |
parent | f6f621ef69a5a9bf20e94c2714bdebae73860927 (diff) | |
download | php-git-110bf9c720d02b49a1a5d0c6e8affe65f9aa01db.tar.gz |
Merge remote-tracking branch 'origin/master' into phpng
Conflicts:
Zend/zend_compile.h
ext/openssl/xp_ssl.c
Diffstat (limited to 'ext/mysqlnd/mysqlnd_net.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_net.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_net.c b/ext/mysqlnd/mysqlnd_net.c index 0890b73424..76e49a5d9d 100644 --- a/ext/mysqlnd/mysqlnd_net.c +++ b/ext/mysqlnd/mysqlnd_net.c @@ -99,6 +99,7 @@ MYSQLND_METHOD(mysqlnd_net, network_write_ex)(MYSQLND_NET * const net, const zen { size_t ret; DBG_ENTER("mysqlnd_net::network_write_ex"); + DBG_INF_FMT("sending %u bytes", count); ret = php_stream_write(net->data->m.get_stream(net TSRMLS_CC), (char *)buffer, count); DBG_RETURN(ret); } @@ -365,6 +366,10 @@ MYSQLND_METHOD(mysqlnd_net, send_ex)(MYSQLND_NET * const net, zend_uchar * const do { to_be_sent = MIN(left, MYSQLND_MAX_PACKET_SIZE); + DBG_INF_FMT("to_be_sent=%u", to_be_sent); + DBG_INF_FMT("packets_sent=%u", packets_sent); + DBG_INF_FMT("compressed_envelope_packet_no=%u", net->compressed_envelope_packet_no); + DBG_INF_FMT("packet_no=%u", net->packet_no); #ifdef MYSQLND_COMPRESSION_ENABLED if (net->data->compressed == TRUE) { /* here we need to compress the data and then write it, first comes the compressed header */ |