mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- revert revision 297277, break the builds (declaration must go 1st, size of void * and other known situations). Also Johannes, can you check that commit pls? Thought we were in bugs fixing only for 5.3
This commit is contained in:
parent
a3857fd963
commit
96e2651fa2
9 changed files with 150 additions and 188 deletions
|
@ -599,7 +599,7 @@ MYSQLND_METHOD(mysqlnd_stmt, execute)(MYSQLND_STMT * const s TSRMLS_DC)
|
|||
not_bound, not_bound>1 ?"s":"");
|
||||
SET_STMT_ERROR(stmt, CR_PARAMS_NOT_BOUND, UNKNOWN_SQLSTATE, msg);
|
||||
if (msg) {
|
||||
efree(msg); /* allocated by spprintf */
|
||||
efree(msg);
|
||||
}
|
||||
DBG_INF("FAIL");
|
||||
DBG_RETURN(FAIL);
|
||||
|
@ -2055,7 +2055,7 @@ MYSQLND_METHOD(mysqlnd_stmt, alloc_param_bind)(MYSQLND_STMT * const s TSRMLS_DC)
|
|||
{
|
||||
MYSQLND_STMT_DATA * stmt = s->data;
|
||||
DBG_ENTER("mysqlnd_stmt::alloc_param_bind");
|
||||
DBG_RETURN(mnd_pecalloc(stmt->param_count, sizeof(MYSQLND_PARAM_BIND), stmt->persistent));
|
||||
DBG_RETURN(pecalloc(stmt->param_count, sizeof(MYSQLND_PARAM_BIND), stmt->persistent));
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
@ -2066,7 +2066,7 @@ MYSQLND_METHOD(mysqlnd_stmt, alloc_result_bind)(MYSQLND_STMT * const s TSRMLS_DC
|
|||
{
|
||||
MYSQLND_STMT_DATA * stmt = s->data;
|
||||
DBG_ENTER("mysqlnd_stmt::alloc_result_bind");
|
||||
DBG_RETURN(mnd_pecalloc(stmt->field_count, sizeof(MYSQLND_RESULT_BIND), stmt->persistent));
|
||||
DBG_RETURN(pecalloc(stmt->field_count, sizeof(MYSQLND_RESULT_BIND), stmt->persistent));
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue