diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2010-08-13 10:43:15 +0000 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2010-08-13 10:43:15 +0000 |
commit | a954bcae9e81f2a58e366556f76988c6b56d38c5 (patch) | |
tree | 47cd94a167c1710bc0d50b8b27173b071350fe12 | |
parent | 984560f93d56d2c39943e19a3ae403bf2000f899 (diff) | |
download | php-git-a954bcae9e81f2a58e366556f76988c6b56d38c5.tar.gz |
Changed mysqli_report() to be per-request specific rather than per-process specific (Fixes #52390)
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | ext/mysqli/mysqli.c | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -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; } |