diff options
author | andrey <andrey@php.net> | 2012-05-02 16:15:35 +0200 |
---|---|---|
committer | andrey <andrey@php.net> | 2012-05-02 16:15:35 +0200 |
commit | cd9e4d1defeb0d111221c6b8670ec39603dc49ff (patch) | |
tree | 49effc7771f50f4ae23248a1f0f9c34f62e55954 /ext/mysqlnd/mysqlnd_ps.c | |
parent | 8c41e45eec83abdb57f0f3f447fdfee9c627caaf (diff) | |
parent | 67419499b2869feb0ad91c022da78df7845ab00d (diff) | |
download | php-git-cd9e4d1defeb0d111221c6b8670ec39603dc49ff.tar.gz |
Merge branch 'PHP-5.4'
Diffstat (limited to 'ext/mysqlnd/mysqlnd_ps.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_ps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps.c b/ext/mysqlnd/mysqlnd_ps.c index f9ff43fe98..90e685654b 100644 --- a/ext/mysqlnd/mysqlnd_ps.c +++ b/ext/mysqlnd/mysqlnd_ps.c @@ -1622,9 +1622,9 @@ MYSQLND_METHOD(mysqlnd_stmt, bind_one_result)(MYSQLND_STMT * const s, unsigned i mysqlnd_stmt_separate_one_result_bind(s, param_no TSRMLS_CC); /* Guaranteed is that stmt->result_bind is NULL */ if (!stmt->result_bind) { - stmt->result_bind = mnd_ecalloc(stmt->field_count, sizeof(MYSQLND_RESULT_BIND)); + stmt->result_bind = mnd_pecalloc(stmt->field_count, sizeof(MYSQLND_RESULT_BIND), stmt->persistent); } else { - stmt->result_bind = mnd_erealloc(stmt->result_bind, stmt->field_count * sizeof(MYSQLND_RESULT_BIND)); + stmt->result_bind = mnd_perealloc(stmt->result_bind, stmt->field_count * sizeof(MYSQLND_RESULT_BIND), stmt->persistent); } if (!stmt->result_bind) { DBG_RETURN(FAIL); |