|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-06-18 07:13 UTC] adamjonr at gmail dot com
[2012-06-18 22:57 UTC] johannes@php.net
[2012-06-18 22:57 UTC] johannes@php.net
-Status: Open
+Status: Feedback
[2013-02-18 00:35 UTC] php-bugs at lists dot php dot net
[2013-03-19 06:53 UTC] valentiny510 at yahoo dot es
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 16:00:02 2025 UTC |
Description: ------------ Honestly, i'm not realy sure if is php or mysql thing.. Look at the test script NOTE: id 2 DOES NOT exists and MYSQL_REPORT_ALL does nor report anything :S Test script: --------------- mysqli_report( MYSQLI_REPORT_ALL ); $db = new mysqli('.', 'root', 'pass', 'database'); if (!$db->query('DELETE FROM sessions WHERE id = 2')) echo 'Cannot delete session: ', $db->error; else echo 'DELETED'; Expected result: ---------------- Cannot delete session: "some error from mysqli" Actual result: -------------- DELETED