mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
removed function mysql_num_warnings (libmysql change).
This commit is contained in:
parent
7788cefdd3
commit
2706394076
3 changed files with 0 additions and 18 deletions
|
@ -1082,22 +1082,6 @@ PHP_FUNCTION(mysqli_num_rows)
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto int mysqli_num_warnings
|
||||
*/
|
||||
PHP_FUNCTION(mysqli_num_warnings)
|
||||
{
|
||||
MYSQL *mysql;
|
||||
zval *mysql_link = NULL;
|
||||
|
||||
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O", &mysql_link, mysqli_link_class_entry) == FAILURE) {
|
||||
return;
|
||||
}
|
||||
MYSQLI_FETCH_RESOURCE(mysql, MYSQL *, &mysql_link, "mysqli_link");
|
||||
|
||||
RETURN_LONG(mysql_warning_count(mysql));
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto bool mysqli_options(resource link, int flags, mixed values)
|
||||
set options */
|
||||
PHP_FUNCTION(mysqli_options)
|
||||
|
|
|
@ -80,7 +80,6 @@ function_entry mysqli_functions[] = {
|
|||
PHP_FE(mysqli_master_query, NULL)
|
||||
PHP_FE(mysqli_num_fields, NULL)
|
||||
PHP_FE(mysqli_num_rows, NULL)
|
||||
PHP_FE(mysqli_num_warnings, NULL)
|
||||
PHP_FE(mysqli_options, NULL)
|
||||
PHP_FE(mysqli_param_count, NULL)
|
||||
PHP_FE(mysqli_ping, NULL)
|
||||
|
|
|
@ -186,7 +186,6 @@ PHP_FUNCTION(mysqli_kill);
|
|||
PHP_FUNCTION(mysqli_master_query);
|
||||
PHP_FUNCTION(mysqli_num_fields);
|
||||
PHP_FUNCTION(mysqli_num_rows);
|
||||
PHP_FUNCTION(mysqli_num_warnings);
|
||||
PHP_FUNCTION(mysqli_options);
|
||||
PHP_FUNCTION(mysqli_param_count);
|
||||
PHP_FUNCTION(mysqli_ping);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue