#46997 [Opn->Fbk]: Column Name Based Result Fetching Causes Access Violation
| From: | jani@php.net | Date: | Mon, 05 Jan 2009 11:54:16 +0000 |
| Subject: | #46997 [Opn->Fbk]: Column Name Based Result Fetching Causes Access Violation | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-132554@lists.php.net to get a copy of this message | ||
ID: 46997
Updated by: jani@php.net
Reported By: dangerousdave86 at hotmail dot com
-Status: Open
+Status: Feedback
Bug Type: MySQLi related
Operating System: Windows Server 2008 Std ISAPI
PHP Version: 5.2.8
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2009-01-03 13:58:33] dangerousdave86 at hotmail dot com
Description:
------------
Error: PHP has encountered an Access Violation at 00322BEB When calling
mysqli_fetch_assoc or mysqli_fetch_object on mysqli result. Also occurs
using OO method.
Error does not occur when using mysqli_fetch_row. Result is correct and
indexed numerically in array.
Reproduce code:
---------------
Any database query using mysql that fetches rows using
mysql_fetch_object, _fetch_assoc, _fetch_array. Or OO equivilents.
Expected result:
----------------
an array representing a row from the database
Actual result:
--------------
Access Violation
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46997&edit=1