summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_ps.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2015-11-10 11:53:19 +0100
committerAndrey Hristov <andrey@php.net>2015-11-12 16:19:16 +0100
commita530ecff978cbf2e67a774cae40899d3934c163a (patch)
tree05f7626849f498bb8736fc7779a9f8ac04741992 /ext/mysqlnd/mysqlnd_ps.c
parent654d1a7caf068c67560fd49c86cf6f6354322d6f (diff)
downloadphp-git-a530ecff978cbf2e67a774cae40899d3934c163a.tar.gz
MNDR:
- better name for MYSQLND_PPEC - MYSQLND_PFC (protocol frame codec)
Diffstat (limited to 'ext/mysqlnd/mysqlnd_ps.c')
-rw-r--r--ext/mysqlnd/mysqlnd_ps.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps.c b/ext/mysqlnd/mysqlnd_ps.c
index 8958450ab8..d7a170dd82 100644
--- a/ext/mysqlnd/mysqlnd_ps.c
+++ b/ext/mysqlnd/mysqlnd_ps.c
@@ -17,8 +17,6 @@
| Georg Richter <georg@mysql.com> |
+----------------------------------------------------------------------+
*/
-
-/* $Id$ */
#include "php.h"
#include "mysqlnd.h"
#include "mysqlnd_wireprotocol.h"
@@ -1444,7 +1442,7 @@ MYSQLND_METHOD(mysqlnd_stmt, send_long_data)(MYSQLND_STMT * const s, unsigned in
#if HAVE_USLEEP && !defined(PHP_WIN32)
usleep(120000);
#endif
- if ((packet_len = conn->net->m.consume_uneaten_data(conn->net, COM_STMT_SEND_LONG_DATA))) {
+ if ((packet_len = conn->protocol_frame_codec->m.consume_uneaten_data(conn->protocol_frame_codec, COM_STMT_SEND_LONG_DATA))) {
php_error_docref(NULL, E_WARNING, "There was an error "
"while sending long data. Probably max_allowed_packet_size "
"is smaller than the data. You have to increase it or send "