summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mysqli/mysqli_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c
index 7e633f84a4..231d231109 100644
--- a/ext/mysqli/mysqli_api.c
+++ b/ext/mysqli/mysqli_api.c
@@ -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)