Remove proto comments from C files

Closes GH-5758
This commit is contained in:
Max Semenik 2020-07-01 16:32:55 +03:00 committed by Máté Kocsis
parent 4757998650
commit 2b5de6f839
No known key found for this signature in database
GPG key ID: FD055E41728BF310
234 changed files with 3892 additions and 8084 deletions

View file

@ -133,8 +133,7 @@ static int mysqli_commit_or_rollback_libmysql(MYSQL * conn, zend_bool commit, co
/* }}} */
#endif
/* {{{ proto mixed mysqli_affected_rows(object link)
Get number of affected rows in previous MySQL operation */
/* {{{ Get number of affected rows in previous MySQL operation */
PHP_FUNCTION(mysqli_affected_rows)
{
MY_MYSQL *mysql;
@ -155,8 +154,7 @@ PHP_FUNCTION(mysqli_affected_rows)
}
/* }}} */
/* {{{ proto bool mysqli_autocommit(object link, bool mode)
Turn auto commit on or of */
/* {{{ Turn auto commit on or of */
PHP_FUNCTION(mysqli_autocommit)
{
MY_MYSQL *mysql;
@ -311,8 +309,7 @@ end:
#endif
/* }}} */
/* {{{ proto bool mysqli_stmt_bind_param(object stmt, string types, mixed variable [,mixed ...])
Bind variables to a prepared statement as parameters */
/* {{{ Bind variables to a prepared statement as parameters */
PHP_FUNCTION(mysqli_stmt_bind_param)
{
zval *args;
@ -574,8 +571,7 @@ mysqli_stmt_bind_result_do_bind(MY_STMT *stmt, zval *args, unsigned int argc)
#endif
/* }}} */
/* {{{ proto bool mysqli_stmt_bind_result(object stmt, mixed var [,mixed ...])
Bind variables to a prepared statement for result storage */
/* {{{ Bind variables to a prepared statement for result storage */
PHP_FUNCTION(mysqli_stmt_bind_result)
{
zval *args;
@ -600,8 +596,7 @@ PHP_FUNCTION(mysqli_stmt_bind_result)
}
/* }}} */
/* {{{ proto bool mysqli_change_user(object link, string user, string password, string database)
Change logged-in user of the active connection */
/* {{{ Change logged-in user of the active connection */
PHP_FUNCTION(mysqli_change_user)
{
MY_MYSQL *mysql;
@ -647,8 +642,7 @@ PHP_FUNCTION(mysqli_change_user)
}
/* }}} */
/* {{{ proto string mysqli_character_set_name(object link)
Returns the name of the character set used for this connection */
/* {{{ Returns the name of the character set used for this connection */
PHP_FUNCTION(mysqli_character_set_name)
{
MY_MYSQL *mysql;
@ -708,8 +702,7 @@ void php_mysqli_close(MY_MYSQL * mysql, int close_type, int resource_status)
}
/* }}} */
/* {{{ proto bool mysqli_close(object link)
Close connection */
/* {{{ Close connection */
PHP_FUNCTION(mysqli_close)
{
zval *mysql_link;
@ -730,8 +723,7 @@ PHP_FUNCTION(mysqli_close)
}
/* }}} */
/* {{{ proto bool mysqli_commit(object link[, int flags [, string name ]])
Commit outstanding actions and close transaction */
/* {{{ Commit outstanding actions and close transaction */
PHP_FUNCTION(mysqli_commit)
{
MY_MYSQL *mysql;
@ -756,8 +748,7 @@ PHP_FUNCTION(mysqli_commit)
}
/* }}} */
/* {{{ proto bool mysqli_data_seek(object result, int offset)
Move internal result pointer */
/* {{{ Move internal result pointer */
PHP_FUNCTION(mysqli_data_seek)
{
MYSQL_RES *result;
@ -784,8 +775,7 @@ PHP_FUNCTION(mysqli_data_seek)
}
/* }}} */
/* {{{ proto bool mysqli_debug(string debug)
*/
/* {{{ */
PHP_FUNCTION(mysqli_debug)
{
char *debug;
@ -800,8 +790,7 @@ PHP_FUNCTION(mysqli_debug)
}
/* }}} */
/* {{{ proto bool mysqli_dump_debug_info(object link)
*/
/* {{{ */
PHP_FUNCTION(mysqli_dump_debug_info)
{
MY_MYSQL *mysql;
@ -816,8 +805,7 @@ PHP_FUNCTION(mysqli_dump_debug_info)
}
/* }}} */
/* {{{ proto int mysqli_errno(object link)
Returns the numerical value of the error message from previous MySQL operation */
/* {{{ Returns the numerical value of the error message from previous MySQL operation */
PHP_FUNCTION(mysqli_errno)
{
MY_MYSQL *mysql;
@ -831,8 +819,7 @@ PHP_FUNCTION(mysqli_errno)
}
/* }}} */
/* {{{ proto string mysqli_error(object link)
Returns the text of the error message from previous MySQL operation */
/* {{{ Returns the text of the error message from previous MySQL operation */
PHP_FUNCTION(mysqli_error)
{
MY_MYSQL *mysql;
@ -850,8 +837,7 @@ PHP_FUNCTION(mysqli_error)
}
/* }}} */
/* {{{ proto bool mysqli_stmt_execute(object stmt)
Execute a prepared statement */
/* {{{ Execute a prepared statement */
PHP_FUNCTION(mysqli_stmt_execute)
{
MY_STMT *stmt;
@ -1121,8 +1107,7 @@ void mysqli_stmt_fetch_mysqlnd(INTERNAL_FUNCTION_PARAMETERS)
#endif
/* }}} */
/* {{{ proto mixed mysqli_stmt_fetch(object stmt)
Fetch results from a prepared statement into the bound variables */
/* {{{ Fetch results from a prepared statement into the bound variables */
PHP_FUNCTION(mysqli_stmt_fetch)
{
#ifndef MYSQLI_USE_MYSQLND
@ -1163,8 +1148,7 @@ static void php_add_field_properties(zval *value, const MYSQL_FIELD *field)
}
/* }}} */
/* {{{ proto mixed mysqli_fetch_field(object result)
Get column information from a result and return as an object */
/* {{{ Get column information from a result and return as an object */
PHP_FUNCTION(mysqli_fetch_field)
{
MYSQL_RES *result;
@ -1186,8 +1170,7 @@ PHP_FUNCTION(mysqli_fetch_field)
}
/* }}} */
/* {{{ proto mixed mysqli_fetch_fields(object result)
Return array of objects containing field meta-data */
/* {{{ Return array of objects containing field meta-data */
PHP_FUNCTION(mysqli_fetch_fields)
{
MYSQL_RES *result;
@ -1216,8 +1199,7 @@ PHP_FUNCTION(mysqli_fetch_fields)
}
/* }}} */
/* {{{ proto mixed mysqli_fetch_field_direct(object result, int offset)
Fetch meta-data for a single field */
/* {{{ Fetch meta-data for a single field */
PHP_FUNCTION(mysqli_fetch_field_direct)
{
MYSQL_RES *result;
@ -1245,8 +1227,7 @@ PHP_FUNCTION(mysqli_fetch_field_direct)
}
/* }}} */
/* {{{ proto mixed mysqli_fetch_lengths(object result)
Get the length of each output in a result */
/* {{{ Get the length of each output in a result */
PHP_FUNCTION(mysqli_fetch_lengths)
{
MYSQL_RES *result;
@ -1277,17 +1258,14 @@ PHP_FUNCTION(mysqli_fetch_lengths)
}
/* }}} */
/* {{{ proto array mysqli_fetch_row(object result)
Get a result row as an enumerated array */
/* {{{ Get a result row as an enumerated array */
PHP_FUNCTION(mysqli_fetch_row)
{
php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, MYSQLI_NUM, 0);
}
/* }}} */
/* {{{ proto int mysqli_field_count(object link)
Fetch the number of fields returned by the last query for the given link
*/
/* {{{ Fetch the number of fields returned by the last query for the given link */
PHP_FUNCTION(mysqli_field_count)
{
MY_MYSQL *mysql;
@ -1302,9 +1280,7 @@ PHP_FUNCTION(mysqli_field_count)
}
/* }}} */
/* {{{ proto int mysqli_field_seek(object result, int fieldnr)
Set result pointer to a specified field offset
*/
/* {{{ Set result pointer to a specified field offset */
PHP_FUNCTION(mysqli_field_seek)
{
MYSQL_RES *result;
@ -1326,8 +1302,7 @@ PHP_FUNCTION(mysqli_field_seek)
}
/* }}} */
/* {{{ proto int mysqli_field_tell(object result)
Get current field offset of result pointer */
/* {{{ Get current field offset of result pointer */
PHP_FUNCTION(mysqli_field_tell)
{
MYSQL_RES *result;
@ -1342,8 +1317,7 @@ PHP_FUNCTION(mysqli_field_tell)
}
/* }}} */
/* {{{ proto void mysqli_free_result(object result)
Free query result memory for the given result handle */
/* {{{ Free query result memory for the given result handle */
PHP_FUNCTION(mysqli_free_result)
{
MYSQL_RES *result;
@ -1359,8 +1333,7 @@ PHP_FUNCTION(mysqli_free_result)
}
/* }}} */
/* {{{ proto string mysqli_get_client_info(void)
Get MySQL client info */
/* {{{ Get MySQL client info */
PHP_FUNCTION(mysqli_get_client_info)
{
if (getThis()) {
@ -1382,8 +1355,7 @@ PHP_FUNCTION(mysqli_get_client_info)
}
/* }}} */
/* {{{ proto int mysqli_get_client_version(void)
Get MySQL client info */
/* {{{ Get MySQL client info */
PHP_FUNCTION(mysqli_get_client_version)
{
if (zend_parse_parameters_none() == FAILURE) {
@ -1394,8 +1366,7 @@ PHP_FUNCTION(mysqli_get_client_version)
}
/* }}} */
/* {{{ proto string mysqli_get_host_info(object link)
Get MySQL host info */
/* {{{ Get MySQL host info */
PHP_FUNCTION(mysqli_get_host_info)
{
MY_MYSQL *mysql;
@ -1413,8 +1384,7 @@ PHP_FUNCTION(mysqli_get_host_info)
}
/* }}} */
/* {{{ proto int mysqli_get_proto_info(object link)
Get MySQL protocol information */
/* {{{ Get MySQL protocol information */
PHP_FUNCTION(mysqli_get_proto_info)
{
MY_MYSQL *mysql;
@ -1428,8 +1398,7 @@ PHP_FUNCTION(mysqli_get_proto_info)
}
/* }}} */
/* {{{ proto string mysqli_get_server_info(object link)
Get MySQL server info */
/* {{{ Get MySQL server info */
PHP_FUNCTION(mysqli_get_server_info)
{
MY_MYSQL *mysql;
@ -1448,8 +1417,7 @@ PHP_FUNCTION(mysqli_get_server_info)
}
/* }}} */
/* {{{ proto int mysqli_get_server_version(object link)
Return the MySQL version for the server referenced by the given link */
/* {{{ Return the MySQL version for the server referenced by the given link */
PHP_FUNCTION(mysqli_get_server_version)
{
MY_MYSQL *mysql;
@ -1464,8 +1432,7 @@ PHP_FUNCTION(mysqli_get_server_version)
}
/* }}} */
/* {{{ proto string mysqli_info(object link)
Get information about the most recent query */
/* {{{ Get information about the most recent query */
PHP_FUNCTION(mysqli_info)
{
MY_MYSQL *mysql;
@ -1526,24 +1493,21 @@ void php_mysqli_init(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_method)
}
/* }}} */
/* {{{ proto resource mysqli_init(void)
Initialize mysqli and return a resource for use with mysql_real_connect */
/* {{{ Initialize mysqli and return a resource for use with mysql_real_connect */
PHP_FUNCTION(mysqli_init)
{
php_mysqli_init(INTERNAL_FUNCTION_PARAM_PASSTHRU, FALSE);
}
/* }}} */
/* {{{ proto resource mysqli::init(void)
Initialize mysqli and return a resource for use with mysql_real_connect */
/* {{{ Initialize mysqli and return a resource for use with mysql_real_connect */
PHP_FUNCTION(mysqli_init_method)
{
php_mysqli_init(INTERNAL_FUNCTION_PARAM_PASSTHRU, TRUE);
}
/* }}} */
/* {{{ proto mixed mysqli_insert_id(object link)
Get the ID generated from the previous INSERT operation */
/* {{{ Get the ID generated from the previous INSERT operation */
PHP_FUNCTION(mysqli_insert_id)
{
MY_MYSQL *mysql;
@ -1559,8 +1523,7 @@ PHP_FUNCTION(mysqli_insert_id)
}
/* }}} */
/* {{{ proto bool mysqli_kill(object link, int processid)
Kill a mysql process on the server */
/* {{{ Kill a mysql process on the server */
PHP_FUNCTION(mysqli_kill)
{
MY_MYSQL *mysql;
@ -1585,8 +1548,7 @@ PHP_FUNCTION(mysqli_kill)
}
/* }}} */
/* {{{ proto bool mysqli_more_results(object link)
check if there any more query results from a multi query */
/* {{{ check if there any more query results from a multi query */
PHP_FUNCTION(mysqli_more_results)
{
MY_MYSQL *mysql;
@ -1601,8 +1563,7 @@ PHP_FUNCTION(mysqli_more_results)
}
/* }}} */
/* {{{ proto bool mysqli_next_result(object link)
read next result from multi_query */
/* {{{ read next result from multi_query */
PHP_FUNCTION(mysqli_next_result) {
MY_MYSQL *mysql;
zval *mysql_link;
@ -1617,8 +1578,7 @@ PHP_FUNCTION(mysqli_next_result) {
/* }}} */
#if defined(HAVE_STMT_NEXT_RESULT) && defined(MYSQLI_USE_MYSQLND)
/* {{{ proto bool mysqli_stmt_more_results(object link)
check if there any more query results from a multi query */
/* {{{ check if there any more query results from a multi query */
PHP_FUNCTION(mysqli_stmt_more_results)
{
MY_STMT *stmt;
@ -1633,8 +1593,7 @@ PHP_FUNCTION(mysqli_stmt_more_results)
}
/* }}} */
/* {{{ proto bool mysqli_stmt_next_result(object link)
read next result from multi_query */
/* {{{ read next result from multi_query */
PHP_FUNCTION(mysqli_stmt_next_result) {
MY_STMT *stmt;
zval *mysql_stmt;
@ -1649,8 +1608,7 @@ PHP_FUNCTION(mysqli_stmt_next_result) {
/* }}} */
#endif
/* {{{ proto int mysqli_num_fields(object result)
Get number of fields in result */
/* {{{ Get number of fields in result */
PHP_FUNCTION(mysqli_num_fields)
{
MYSQL_RES *result;
@ -1665,8 +1623,7 @@ PHP_FUNCTION(mysqli_num_fields)
}
/* }}} */
/* {{{ proto mixed mysqli_num_rows(object result)
Get number of rows in result */
/* {{{ Get number of rows in result */
PHP_FUNCTION(mysqli_num_rows)
{
MYSQL_RES *result;
@ -1751,8 +1708,7 @@ static int mysqli_options_get_option_zval_type(int option)
}
/* }}} */
/* {{{ proto bool mysqli_options(object link, int flags, mixed values)
Set options */
/* {{{ Set options */
PHP_FUNCTION(mysqli_options)
{
MY_MYSQL *mysql;
@ -1807,8 +1763,7 @@ PHP_FUNCTION(mysqli_options)
}
/* }}} */
/* {{{ proto bool mysqli_ping(object link)
Ping a server connection or reconnect if there is no connection */
/* {{{ Ping a server connection or reconnect if there is no connection */
PHP_FUNCTION(mysqli_ping)
{
MY_MYSQL *mysql;
@ -1826,8 +1781,7 @@ PHP_FUNCTION(mysqli_ping)
}
/* }}} */
/* {{{ proto mixed mysqli_prepare(object link, string query)
Prepare a SQL statement for execution */
/* {{{ Prepare a SQL statement for execution */
PHP_FUNCTION(mysqli_prepare)
{
MY_MYSQL *mysql;
@ -1910,16 +1864,14 @@ PHP_FUNCTION(mysqli_prepare)
}
/* }}} */
/* {{{ proto bool mysqli_real_connect(object link [,string hostname [,string username [,string passwd [,string dbname [,int port [,string socket [,int flags]]]]]]])
Open a connection to a mysql server */
/* {{{ Open a connection to a mysql server */
PHP_FUNCTION(mysqli_real_connect)
{
mysqli_common_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, TRUE, FALSE);
}
/* }}} */
/* {{{ proto bool mysqli_real_query(object link, string query)
Binary-safe version of mysql_query() */
/* {{{ Binary-safe version of mysql_query() */
PHP_FUNCTION(mysqli_real_query)
{
MY_MYSQL *mysql;
@ -1949,8 +1901,7 @@ PHP_FUNCTION(mysqli_real_query)
}
/* }}} */
/* {{{ proto string mysqli_real_escape_string(object link, string escapestr)
Escapes special characters in a string for use in a SQL statement, taking into account the current charset of the connection */
/* {{{ Escapes special characters in a string for use in a SQL statement, taking into account the current charset of the connection */
PHP_FUNCTION(mysqli_real_escape_string) {
MY_MYSQL *mysql;
zval *mysql_link = NULL;
@ -1971,8 +1922,7 @@ PHP_FUNCTION(mysqli_real_escape_string) {
}
/* }}} */
/* {{{ proto bool mysqli_rollback(object link)
Undo actions from current transaction */
/* {{{ Undo actions from current transaction */
PHP_FUNCTION(mysqli_rollback)
{
MY_MYSQL *mysql;
@ -1997,8 +1947,7 @@ PHP_FUNCTION(mysqli_rollback)
}
/* }}} */
/* {{{ proto bool mysqli_stmt_send_long_data(object stmt, int param_nr, string data)
*/
/* {{{ */
PHP_FUNCTION(mysqli_stmt_send_long_data)
{
MY_STMT *stmt;
@ -2023,8 +1972,7 @@ PHP_FUNCTION(mysqli_stmt_send_long_data)
}
/* }}} */
/* {{{ proto string|int|false mysqli_stmt_affected_rows(object stmt)
Return the number of rows affected in the last query for the given link. */
/* {{{ Return the number of rows affected in the last query for the given link. */
PHP_FUNCTION(mysqli_stmt_affected_rows)
{
MY_STMT *stmt;
@ -2044,8 +1992,7 @@ PHP_FUNCTION(mysqli_stmt_affected_rows)
}
/* }}} */
/* {{{ proto bool mysqli_stmt_close(object stmt)
Close statement */
/* {{{ Close statement */
PHP_FUNCTION(mysqli_stmt_close)
{
MY_STMT *stmt;
@ -2064,8 +2011,7 @@ PHP_FUNCTION(mysqli_stmt_close)
}
/* }}} */
/* {{{ proto void mysqli_stmt_data_seek(object stmt, int offset)
Move internal result pointer */
/* {{{ Move internal result pointer */
PHP_FUNCTION(mysqli_stmt_data_seek)
{
MY_STMT *stmt;
@ -2086,8 +2032,7 @@ PHP_FUNCTION(mysqli_stmt_data_seek)
}
/* }}} */
/* {{{ proto int mysqli_stmt_field_count(object stmt) {
Return the number of result columns for the given statement */
/* {{{ Return the number of result columns for the given statement */
PHP_FUNCTION(mysqli_stmt_field_count)
{
MY_STMT *stmt;
@ -2102,8 +2047,7 @@ PHP_FUNCTION(mysqli_stmt_field_count)
}
/* }}} */
/* {{{ proto void mysqli_stmt_free_result(object stmt)
Free stored result memory for the given statement handle */
/* {{{ Free stored result memory for the given statement handle */
PHP_FUNCTION(mysqli_stmt_free_result)
{
MY_STMT *stmt;
@ -2119,8 +2063,7 @@ PHP_FUNCTION(mysqli_stmt_free_result)
}
/* }}} */
/* {{{ proto mixed mysqli_stmt_insert_id(object stmt)
Get the ID generated from the previous INSERT operation */
/* {{{ Get the ID generated from the previous INSERT operation */
PHP_FUNCTION(mysqli_stmt_insert_id)
{
MY_STMT *stmt;
@ -2136,8 +2079,7 @@ PHP_FUNCTION(mysqli_stmt_insert_id)
}
/* }}} */
/* {{{ proto int mysqli_stmt_param_count(object stmt)
Return the number of parameter for the given statement */
/* {{{ Return the number of parameter for the given statement */
PHP_FUNCTION(mysqli_stmt_param_count)
{
MY_STMT *stmt;
@ -2152,8 +2094,7 @@ PHP_FUNCTION(mysqli_stmt_param_count)
}
/* }}} */
/* {{{ proto bool mysqli_stmt_reset(object stmt)
reset a prepared statement */
/* {{{ reset a prepared statement */
PHP_FUNCTION(mysqli_stmt_reset)
{
MY_STMT *stmt;
@ -2172,8 +2113,7 @@ PHP_FUNCTION(mysqli_stmt_reset)
}
/* }}} */
/* {{{ proto mixed mysqli_stmt_num_rows(object stmt)
Return the number of rows in statements result set */
/* {{{ Return the number of rows in statements result set */
PHP_FUNCTION(mysqli_stmt_num_rows)
{
MY_STMT *stmt;
@ -2191,8 +2131,7 @@ PHP_FUNCTION(mysqli_stmt_num_rows)
}
/* }}} */
/* {{{ proto bool mysqli_select_db(object link, string dbname)
Select a MySQL database */
/* {{{ Select a MySQL database */
PHP_FUNCTION(mysqli_select_db)
{
MY_MYSQL *mysql;
@ -2213,8 +2152,7 @@ PHP_FUNCTION(mysqli_select_db)
}
/* }}} */
/* {{{ proto string mysqli_sqlstate(object link)
Returns the SQLSTATE error from previous MySQL operation */
/* {{{ Returns the SQLSTATE error from previous MySQL operation */
PHP_FUNCTION(mysqli_sqlstate)
{
MY_MYSQL *mysql;
@ -2232,8 +2170,7 @@ PHP_FUNCTION(mysqli_sqlstate)
}
/* }}} */
/* {{{ proto bool mysqli_ssl_set(object link ,string key ,string cert ,string ca ,string capath ,string cipher])
*/
/* {{{ */
PHP_FUNCTION(mysqli_ssl_set)
{
MY_MYSQL *mysql;
@ -2258,8 +2195,7 @@ PHP_FUNCTION(mysqli_ssl_set)
}
/* }}} */
/* {{{ proto mixed mysqli_stat(object link)
Get current system status */
/* {{{ Get current system status */
PHP_FUNCTION(mysqli_stat)
{
MY_MYSQL *mysql;
@ -2291,8 +2227,7 @@ PHP_FUNCTION(mysqli_stat)
/* }}} */
/* {{{ proto bool mysqli_refresh(object link, int options)
Flush tables or caches, or reset replication server information */
/* {{{ Flush tables or caches, or reset replication server information */
PHP_FUNCTION(mysqli_refresh)
{
MY_MYSQL *mysql;
@ -2311,8 +2246,7 @@ PHP_FUNCTION(mysqli_refresh)
}
/* }}} */
/* {{{ proto int mysqli_stmt_attr_set(object stmt, int attr, int mode)
*/
/* {{{ */
PHP_FUNCTION(mysqli_stmt_attr_set)
{
MY_STMT *stmt;
@ -2358,8 +2292,7 @@ PHP_FUNCTION(mysqli_stmt_attr_set)
}
/* }}} */
/* {{{ proto int mysqli_stmt_attr_get(object stmt, int attr)
*/
/* {{{ */
PHP_FUNCTION(mysqli_stmt_attr_get)
{
MY_STMT *stmt;
@ -2385,8 +2318,7 @@ PHP_FUNCTION(mysqli_stmt_attr_get)
}
/* }}} */
/* {{{ proto int mysqli_stmt_errno(object stmt)
*/
/* {{{ */
PHP_FUNCTION(mysqli_stmt_errno)
{
MY_STMT *stmt;
@ -2401,8 +2333,7 @@ PHP_FUNCTION(mysqli_stmt_errno)
}
/* }}} */
/* {{{ proto string mysqli_stmt_error(object stmt)
*/
/* {{{ */
PHP_FUNCTION(mysqli_stmt_error)
{
MY_STMT *stmt;
@ -2421,9 +2352,7 @@ PHP_FUNCTION(mysqli_stmt_error)
}
/* }}} */
/* {{{ proto mixed mysqli_stmt_init(object link)
Initialize statement object
*/
/* {{{ Initialize statement object */
PHP_FUNCTION(mysqli_stmt_init)
{
MY_MYSQL *mysql;
@ -2453,9 +2382,7 @@ PHP_FUNCTION(mysqli_stmt_init)
}
/* }}} */
/* {{{ proto bool mysqli_stmt_prepare(object stmt, string query)
prepare server side statement with query
*/
/* {{{ prepare server side statement with query */
PHP_FUNCTION(mysqli_stmt_prepare)
{
MY_STMT *stmt;
@ -2478,8 +2405,7 @@ PHP_FUNCTION(mysqli_stmt_prepare)
}
/* }}} */
/* {{{ proto mixed mysqli_stmt_result_metadata(object stmt)
return result set from statement */
/* {{{ return result set from statement */
PHP_FUNCTION(mysqli_stmt_result_metadata)
{
MY_STMT *stmt;
@ -2504,8 +2430,7 @@ PHP_FUNCTION(mysqli_stmt_result_metadata)
}
/* }}} */
/* {{{ proto bool mysqli_stmt_store_result(object stmt)
*/
/* {{{ */
PHP_FUNCTION(mysqli_stmt_store_result)
{
MY_STMT *stmt;
@ -2553,8 +2478,7 @@ PHP_FUNCTION(mysqli_stmt_store_result)
}
/* }}} */
/* {{{ proto string mysqli_stmt_sqlstate(object stmt)
*/
/* {{{ */
PHP_FUNCTION(mysqli_stmt_sqlstate)
{
MY_STMT *stmt;
@ -2573,8 +2497,7 @@ PHP_FUNCTION(mysqli_stmt_sqlstate)
}
/* }}} */
/* {{{ proto object mysqli_store_result(object link [, int flags])
Buffer result set on client */
/* {{{ Buffer result set on client */
PHP_FUNCTION(mysqli_store_result)
{
MY_MYSQL *mysql;
@ -2608,8 +2531,7 @@ PHP_FUNCTION(mysqli_store_result)
}
/* }}} */
/* {{{ proto int mysqli_thread_id(object link)
Return the current thread ID */
/* {{{ Return the current thread ID */
PHP_FUNCTION(mysqli_thread_id)
{
MY_MYSQL *mysql;
@ -2624,8 +2546,7 @@ PHP_FUNCTION(mysqli_thread_id)
}
/* }}} */
/* {{{ proto bool mysqli_thread_safe(void)
Return whether thread safety is given or not */
/* {{{ Return whether thread safety is given or not */
PHP_FUNCTION(mysqli_thread_safe)
{
if (zend_parse_parameters_none() == FAILURE) {
@ -2636,8 +2557,7 @@ PHP_FUNCTION(mysqli_thread_safe)
}
/* }}} */
/* {{{ proto mixed mysqli_use_result(object link)
Directly retrieve query results - do not buffer results on client side */
/* {{{ Directly retrieve query results - do not buffer results on client side */
PHP_FUNCTION(mysqli_use_result)
{
MY_MYSQL *mysql;
@ -2665,8 +2585,7 @@ PHP_FUNCTION(mysqli_use_result)
}
/* }}} */
/* {{{ proto int mysqli_warning_count(object link)
Return number of warnings from the last query for the given link */
/* {{{ Return number of warnings from the last query for the given link */
PHP_FUNCTION(mysqli_warning_count)
{
MY_MYSQL *mysql;