]> granicus.if.org Git - php/commitdiff
Changed mysqli_report() to be per-request specific rather than per-process specific...
authorKalle Sommer Nielsen <kalle@php.net>
Fri, 13 Aug 2010 10:43:15 +0000 (10:43 +0000)
committerKalle Sommer Nielsen <kalle@php.net>
Fri, 13 Aug 2010 10:43:15 +0000 (10:43 +0000)
ext/mysqli/mysqli.c

index 65c43c34991626306040e525410c1c20d5dfd816..e84e4ec6ee156e3bda97dc7056ce873b2a47151b 100644 (file)
@@ -893,6 +893,7 @@ PHP_RINIT_FUNCTION(mysqli)
 #endif
        MyG(error_msg) = NULL;
        MyG(error_no) = 0;
+       MyG(report_mode) = 0;
 
        return SUCCESS;
 }