summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_ps_codec.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2013-07-08 20:24:58 +0200
committerAndrey Hristov <andrey@php.net>2013-07-08 20:24:58 +0200
commit3dd5f4ae4c91d97ed02f74cc849075a7d5c1a92c (patch)
treed7114d6030c424c93e1a17742fca4ae2d6623d5e /ext/mysqlnd/mysqlnd_ps_codec.c
parent781be5f1d74ea9406e9ab82f9f90844befcc67b3 (diff)
parent9fc38183b707341b6eddb8c196d0ea2b7c13d6a9 (diff)
downloadphp-git-3dd5f4ae4c91d97ed02f74cc849075a7d5c1a92c.tar.gz
Merge branch 'PHP-5.4' into PHP-5.5
Conflicts: NEWS
Diffstat (limited to 'ext/mysqlnd/mysqlnd_ps_codec.c')
-rw-r--r--ext/mysqlnd/mysqlnd_ps_codec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps_codec.c b/ext/mysqlnd/mysqlnd_ps_codec.c
index 9961d68e43..d8ad06c608 100644
--- a/ext/mysqlnd/mysqlnd_ps_codec.c
+++ b/ext/mysqlnd/mysqlnd_ps_codec.c
@@ -559,6 +559,7 @@ mysqlnd_stmt_execute_store_params(MYSQLND_STMT * s, zend_uchar **buf, zend_uchar
*p += null_count;
}
+ left = (*buf_len - (*p - *buf));
/* 1. Store type information */
/*
check if need to send the types even if stmt->send_types_to_server is 0. This is because