andrey Fri, 18 Mar 2011 13:55:25 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=309384
Log: WS Changed paths: U php/php-src/trunk/ext/mysqlnd/mysqlnd_ps.c Modified: php/php-src/trunk/ext/mysqlnd/mysqlnd_ps.c =================================================================== --- php/php-src/trunk/ext/mysqlnd/mysqlnd_ps.c 2011-03-18 13:52:52 UTC (rev 309383) +++ php/php-src/trunk/ext/mysqlnd/mysqlnd_ps.c 2011-03-18 13:55:25 UTC (rev 309384) @@ -1305,7 +1305,6 @@ DBG_ERR("command out of sync"); DBG_RETURN(FAIL); } - if (param_no >= stmt->param_count) { SET_STMT_ERROR(stmt, CR_INVALID_PARAMETER_NO, UNKNOWN_SQLSTATE, "Invalid parameter number"); DBG_ERR("invalid param_no"); @@ -1424,8 +1423,7 @@ */ for (i = 0; i < stmt->param_count; i++) { /* - We may have the last reference, then call zval_ptr_dtor() - or we may leak memory. + We may have the last reference, then call zval_ptr_dtor() or we may leak memory. Switching from bind_one_parameter to bind_parameters may result in zv being NULL */ if (stmt->param_bind[i].zv) { @@ -1918,6 +1916,7 @@ } /* }}} */ + /* free_result() doesn't actually free stmt->result but only the buffers */ /* {{{ mysqlnd_stmt::free_result */ static enum_func_status
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php