mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +02:00
prototype fixes
This commit is contained in:
@@ -1241,7 +1241,7 @@ PHP_FUNCTION(mysqli_prepare)
|
||||
|
||||
stmt = (MY_STMT *)ecalloc(1,sizeof(MY_STMT));
|
||||
|
||||
if ((stmt->stmt = mysql_stmt_init(mysql->mysql))) {
|
||||
if ((stmt->stmt = mysql_stmt_init(mysql->mysql))) {
|
||||
if (mysql_stmt_prepare(stmt->stmt, query, query_len)) {
|
||||
mysql_stmt_close(stmt->stmt);
|
||||
stmt->stmt = NULL;
|
||||
@@ -1781,7 +1781,7 @@ PHP_FUNCTION(mysqli_stmt_error)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto object mysqli_stmt_init(object link)
|
||||
/* {{{ proto mixed mysqli_stmt_init(object link)
|
||||
Initialize statement object
|
||||
*/
|
||||
PHP_FUNCTION(mysqli_stmt_init)
|
||||
@@ -1809,7 +1809,7 @@ PHP_FUNCTION(mysqli_stmt_init)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto bool mysqli_stmt_prepare(object link, string query)
|
||||
/* {{{ proto bool mysqli_stmt_prepare(object stmt, string query)
|
||||
prepare server side statement with query
|
||||
*/
|
||||
PHP_FUNCTION(mysqli_stmt_prepare)
|
||||
|
||||
Reference in New Issue
Block a user