summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_report.c
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2004-01-28 22:51:54 +0000
committerGeorg Richter <georg@php.net>2004-01-28 22:51:54 +0000
commit7782a4b42523b315d175a35587ae9a44334382fc (patch)
tree71cd6ed7e6fb9252dab8c53e6e199371c23d8b32 /ext/mysqli/mysqli_report.c
parentc603f3112ed0d7895d94357f3bcbc40eae80d1ee (diff)
downloadphp-git-7782a4b42523b315d175a35587ae9a44334382fc.tar.gz
removed experimental status
fixed bug in mysqli_data_seek (thx to Andrey "Effendi" Hristov) various prototype fixes moved some methods to properties which are part of mysql struct added function mysqli_get_server_version
Diffstat (limited to 'ext/mysqli/mysqli_report.c')
-rw-r--r--ext/mysqli/mysqli_report.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/mysqli/mysqli_report.c b/ext/mysqli/mysqli_report.c
index 88bc573512..fd3d66d424 100644
--- a/ext/mysqli/mysqli_report.c
+++ b/ext/mysqli/mysqli_report.c
@@ -33,18 +33,11 @@ PHP_FUNCTION(mysqli_report)
{
int flags;
- if (MyG(report_mode)) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Report level already set.");
- RETURN_FALSE;
- }
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &flags) == FAILURE) {
return;
}
- if (!flags) {
- RETURN_FALSE;
- }
MyG(report_mode) = flags;
RETURN_TRUE;