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
commita954bcae9e81f2a58e366556f76988c6b56d38c5 (patch)
tree47cd94a167c1710bc0d50b8b27173b071350fe12
parent984560f93d56d2c39943e19a3ae403bf2000f899 (diff)
downloadphp-git-a954bcae9e81f2a58e366556f76988c6b56d38c5.tar.gz
Changed mysqli_report() to be per-request specific rather than per-process specific (Fixes #52390)
-rw-r--r--NEWS4
-rw-r--r--ext/mysqli/mysqli.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 5744e4ba38..ca2d1e85ed 100644
--- a/NEWS
+++ b/NEWS
@@ -1,9 +1,9 @@
-PHP NEWS
+PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2010, PHP 5.2.15
-
- Fixed bug #52436 (Compile error if systems do not have stdint.h)
(Sriram Natarajan)
+- Fixed bug #52390 (mysqli_report() should be per-request setting). (Kalle)
22 Jul 2010, PHP 5.2.14
- Reverted bug fix #49521 (PDO fetchObject sets values before calling
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c
index 008b97f7a0..c50b30fd1a 100644
--- a/ext/mysqli/mysqli.c
+++ b/ext/mysqli/mysqli.c
@@ -695,6 +695,7 @@ PHP_RINIT_FUNCTION(mysqli)
#endif
MyG(error_msg) = NULL;
MyG(error_no) = 0;
+ MyG(report_mode) = 0;
return SUCCESS;
}