mysqli_report() should be per-request setting
| Request #52390 | mysqli_report() should be per-request setting | ||||
|---|---|---|---|---|---|
| Submitted: | 2010-07-21 16:13 UTC | Modified: | 2010-08-13 12:44 UTC | ||
| From: | vrana@php.net | Assigned: | kalle (profile) | ||
| Status: | Closed | Package: | MySQLi related | ||
| PHP Version: | 5.3.2 | OS: | Irrelevant | ||
| Private report: | No | CVE-ID: | None | ||
[2010-07-21 16:13 UTC] vrana@php.net
Description: ------------ The report_mode variable set by mysqli_report() should be initialized in request init instead of global init to achieve a consistent behavior. Test script: --------------- <?php $mysqli = mysqli_connect(); mysqli_query($mysqli, "SEL"); ?> Expected result: ---------------- No error message or exception. Actual result: -------------- Nothing, error message or exception depending on mysqli_report() set by previous request in the same process.
Patches
bug-52390 (last revision 2010-08-13 10:17 UTC by kalle@php.net)Pull Requests
History
AllCommentsChangesGit/SVN commits
[2010-08-13 12:18 UTC] kalle@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: kalle
[2010-08-13 12:18 UTC] kalle@php.net
[2010-08-13 12:44 UTC] kalle@php.net
-Status: Assigned +Status: Closed
[2010-08-13 12:44 UTC] kalle@php.net