summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_api.c
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2003-02-12 10:39:06 +0000
committerGeorg Richter <georg@php.net>2003-02-12 10:39:06 +0000
commit27063940767a66c9ae4df187b05cef7f37c4adb6 (patch)
tree5ed9de49622fe707a38f3f34e0076a1fe035e30e /ext/mysqli/mysqli_api.c
parent7788cefdd3bcf534a435d320801b3a80962cb750 (diff)
downloadphp-git-27063940767a66c9ae4df187b05cef7f37c4adb6.tar.gz
removed function mysql_num_warnings (libmysql change).
Diffstat (limited to 'ext/mysqli/mysqli_api.c')
-rw-r--r--ext/mysqli/mysqli_api.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c
index 3d70d9ac4c..8efee2e66b 100644
--- a/ext/mysqli/mysqli_api.c
+++ b/ext/mysqli/mysqli_api.c
@@ -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)