summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2010-08-13 10:43:15 +0000
committerKalle Sommer Nielsen <kalle@php.net>2010-08-13 10:43:15 +0000
commit9806c212599fa03a32022c77deb291a1f8409e56 (patch)
tree5147d6d762e42c7257c64446cd80617a5007de95
parentaff34b2133f89766ea1bc579a64817ee1f55214b (diff)
downloadphp-git-9806c212599fa03a32022c77deb291a1f8409e56.tar.gz
Changed mysqli_report() to be per-request specific rather than per-process specific (Fixes #52390)
-rw-r--r--ext/mysqli/mysqli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c
index 65c43c3499..e84e4ec6ee 100644
--- a/ext/mysqli/mysqli.c
+++ b/ext/mysqli/mysqli.c
@@ -893,6 +893,7 @@ PHP_RINIT_FUNCTION(mysqli)
#endif
MyG(error_msg) = NULL;
MyG(error_no) = 0;
+ MyG(report_mode) = 0;
return SUCCESS;
}