PHP 4.0 Bug #8374: Oracle 8 -> OCIFetchInto()
| From: | russlndr at online dot no | Date: | Fri, 22 Dec 2000 11:10:13 +0000 |
| Subject: | PHP 4.0 Bug #8374: Oracle 8 -> OCIFetchInto() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42117@lists.php.net to get a copy of this message | ||
From: russlndr@online.no
Operating system: Don\'t matter
PHP version: 4.0.3pl1
PHP Bug Type: OCI8 related
Bug description: Oracle 8 -> OCIFetchInto()
The function OCIFetchInto() alters all fetched rows into an array. Let's say I've a query
like this: "SELECT name FROM user". When this query is processed by OCIFetchInto() the
array will look like this: array('NAME' => 'value'). The row name is changed
into uppercase. Shouldn't it be lowercase as in the query?
In mysql_fetch_array() this works. I've been using mysql for a long time now. I have been
accessing all arrays with lowercase. But now I have started on a new project where we are going to
use Oracle. And now I have to go trought my scripts, and change all array keys into uppercase.
--
Edit Bug report at: http://bugs.php.net/?id=8374&edit=1