#30214 [Opn->Fbk]: OCIFetchInto works, oci_fetch_array, oci_fetch_row, etc. don't
| From: | tony2001@php.net | Date: | Wed, 06 Oct 2004 16:44:29 +0000 |
| Subject: | #30214 [Opn->Fbk]: OCIFetchInto works, oci_fetch_array, oci_fetch_row, etc. don't | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-67198@lists.php.net to get a copy of this message | ||
ID: 30214
Updated by: tony2001@php.net
Reported By: errynp at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Oracle related
Operating System: XP
PHP Version: 5.0.1
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
How can we reproduce it? What's your OS, Apache version, Oracle
version?
Previous Comments:
------------------------------------------------------------------------
[2004-09-23 20:11:38] errynp at gmail dot com
Description:
------------
Using an abstraction layer, a row was being fetched with OCIFetchInto,
which works. Switching to one of the other functions returns nothing.
Reproduce code:
---------------
$result =
OCIFetchInto($query_id,$result_row,OCI_ASSOC+OCI_RETURN_NULLS); //
returns data
None of these replacements return data:
$result = oci_fetch_assoc($query_id);
$result = oci_fetch_row($query_id);
$result = oci_fetch_array($query_id,OCI_ASSOC+OCI_RETURN_NULLS);
$result = oci_fetch_object($query_id);
Expected result:
----------------
The same data that the same SQL and connection returns with
OCIFetchInto.
Actual result:
--------------
vardump says string(0) = ""
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30214&edit=1