com php-src: fix the fix: ext/mysqlnd/mysqlnd_ps.c
| From: | Andrey Hristov | Date: | Wed, 13 Mar 2013 14:56:44 +0000 |
| Subject: | com php-src: fix the fix: ext/mysqlnd/mysqlnd_ps.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71448@lists.php.net to get a copy of this message | ||
Commit: c09652c2899dd4149fe3187b5b50f6b3c54da384
Author: Andrey Hristov <andrey@php.net> Wed, 13 Mar 2013 15:56:44 +0100
Parents: 7503a4b4a4d0ffe4140f5afab9cae45aaa691c4a
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c09652c2899dd4149fe3187b5b50f6b3c54da384
Log:
fix the fix
Changed paths:
M ext/mysqlnd/mysqlnd_ps.c
Diff:
diff --git a/ext/mysqlnd/mysqlnd_ps.c b/ext/mysqlnd/mysqlnd_ps.c
index 2a0c9dd..15b2938 100644
--- a/ext/mysqlnd/mysqlnd_ps.c
+++ b/ext/mysqlnd/mysqlnd_ps.c
@@ -1463,8 +1463,7 @@ MYSQLND_METHOD(mysqlnd_stmt, bind_one_parameter)(MYSQLND_STMT * const s,
unsigne
if (stmt->param_count) {
if (!stmt->param_bind) {
-// stmt->param_bind = mnd_pecalloc(stmt->param_count, sizeof(MYSQLND_PARAM_BIND),
stmt->persistent);
- stmt->param_bind = mnd_ecalloc(stmt->param_count, sizeof(MYSQLND_PARAM_BIND));
+ stmt->param_bind = mnd_pecalloc(stmt->param_count, sizeof(MYSQLND_PARAM_BIND),
stmt->persistent);
if (!stmt->param_bind) {
DBG_RETURN(FAIL);
}