#30214 [NEW]: OCIFetchInto works, oci_fetch_array, oci_fetch_row, etc. don't
| From: | errynp at gmail dot com | Date: | Thu, 23 Sep 2004 18:11:41 +0000 |
| Subject: | #30214 [NEW]: OCIFetchInto works, oci_fetch_array, oci_fetch_row, etc. don't | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-66609@lists.php.net to get a copy of this message | ||
From: errynp at gmail dot com
Operating system: XP
PHP version: 5.0.1
PHP Bug Type: Oracle related
Bug description: OCIFetchInto works, oci_fetch_array, oci_fetch_row, etc. don't
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 bug report at http://bugs.php.net/?id=30214&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30214&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30214&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30214&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30214&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30214&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30214&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30214&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30214&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30214&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30214&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30214&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30214&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30214&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30214&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30214&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30214&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30214&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30214&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30214&r=mysqlcfg