kalle Fri, 13 Aug 2010 10:43:15 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=302181
Log: Changed mysqli_report() to be per-request specific rather than per-process specific (Fixes #52390) Bug: http://bugs.php.net/52390 (Assigned) mysqli_report() should be per-request setting Changed paths: U php/php-src/branches/PHP_5_2/NEWS U php/php-src/branches/PHP_5_2/ext/mysqli/mysqli.c U php/php-src/branches/PHP_5_3/NEWS U php/php-src/branches/PHP_5_3/ext/mysqli/mysqli.c U php/php-src/trunk/ext/mysqli/mysqli.c Modified: php/php-src/branches/PHP_5_2/NEWS =================================================================== --- php/php-src/branches/PHP_5_2/NEWS 2010-08-13 09:58:36 UTC (rev 302180) +++ php/php-src/branches/PHP_5_2/NEWS 2010-08-13 10:43:15 UTC (rev 302181) @@ -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 Modified: php/php-src/branches/PHP_5_2/ext/mysqli/mysqli.c =================================================================== --- php/php-src/branches/PHP_5_2/ext/mysqli/mysqli.c 2010-08-13 09:58:36 UTC (rev 302180) +++ php/php-src/branches/PHP_5_2/ext/mysqli/mysqli.c 2010-08-13 10:43:15 UTC (rev 302181) @@ -695,6 +695,7 @@ #endif MyG(error_msg) = NULL; MyG(error_no) = 0; + MyG(report_mode) = 0; return SUCCESS; } Modified: php/php-src/branches/PHP_5_3/NEWS =================================================================== --- php/php-src/branches/PHP_5_3/NEWS 2010-08-13 09:58:36 UTC (rev 302180) +++ php/php-src/branches/PHP_5_3/NEWS 2010-08-13 10:43:15 UTC (rev 302181) @@ -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 Modified: php/php-src/branches/PHP_5_3/ext/mysqli/mysqli.c =================================================================== --- php/php-src/branches/PHP_5_3/ext/mysqli/mysqli.c 2010-08-13 09:58:36 UTC (rev 302180) +++ php/php-src/branches/PHP_5_3/ext/mysqli/mysqli.c 2010-08-13 10:43:15 UTC (rev 302181) @@ -891,6 +891,7 @@ #endif MyG(error_msg) = NULL; MyG(error_no) = 0; + MyG(report_mode) = 0; return SUCCESS; } Modified: php/php-src/trunk/ext/mysqli/mysqli.c =================================================================== --- php/php-src/trunk/ext/mysqli/mysqli.c 2010-08-13 09:58:36 UTC (rev 302180) +++ php/php-src/trunk/ext/mysqli/mysqli.c 2010-08-13 10:43:15 UTC (rev 302181) @@ -893,6 +893,7 @@ #endif MyG(error_msg) = NULL; MyG(error_no) = 0; + MyG(report_mode) = 0; return SUCCESS; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php