Changed mysqli_report() to be per-request specific rather than per-process specific (Fixes #52390)

This commit is contained in:
Kalle Sommer Nielsen 2010-08-13 10:43:15 +00:00
parent a6100682d0
commit e72a69aae6
2 changed files with 3 additions and 0 deletions

2
NEWS
View File

@ -3,6 +3,7 @@
?? ??? 2010, PHP 5.3.4
- Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED.
(Kalle)
- Fixed bug #52573 (SplFileObject::fscanf Segmentation fault). (Felipe)
- Fixed bug #52546 (pdo_dblib segmentation fault when iterating MONEY values).
(Felipe)
@ -19,6 +20,7 @@
- Fixed bug #52433 (Call to undefined method mysqli::poll() - must be static).
(Andrey)
- Fixed bug #52413 (MySQLi/libmysql build failure on OS X, FreeBSD). (Andrey)
- Fixed bug #52390 (mysqli_report() should be per-request setting). (Kalle)
- Fixed bug #52302 (mysqli_fetch_all does not work with MYSQLI_USE_RESULT).
(Andrey)
- Fixed bug #51610 (Using oci_connect causes PHP to take a long time to

View File

@ -891,6 +891,7 @@ PHP_RINIT_FUNCTION(mysqli)
#endif
MyG(error_msg) = NULL;
MyG(error_no) = 0;
MyG(report_mode) = 0;
return SUCCESS;
}