ID:               35457
 Updated by:       [EMAIL PROTECTED]
 Reported By:      David_Canos at ono dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         MySQLi related
 Operating System: Windows 2000
 PHP Version:      5.1.1
 New Comment:

Are you able to reproduce it on a *nix OS and get the GDB backtrace ?


Previous Comments:
------------------------------------------------------------------------

[2005-11-28 18:45:31] David_Canos at ono dot com

Description:
------------
using: apache 2.0.49, mysql 5.0.16, php 5.1.1
When using mysqli->report() with the flags MYSQLI_REPORT_ALL or
MYSQLI_REPORT_ERROR
Apache crashes if ocurres an error in the query.

It seems to be very close to that bug
http://bugs.php.net/bug.php?id=35388


Reproduce code:
---------------
<?php
mysqli_report(MYSQLI_REPORT_ALL);

$mysqli = new mysqli("correctHost", "correctUsername", "correctPasswd",
"correctSchema");

/* apache crashes if a query is not right, ie:*/
$result=$mysqli->query("SELECT * FROM IncorrectTable");

$result->close();
$mysqli->close();
?>

Expected result:
----------------
some error message.

Actual result:
--------------
Windows shows an error message and shutdown Apache. And order you to
restart Apache.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35457&edit=1

Reply via email to