|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-08-13 00:31 UTC] xia at silvia dot com
Description:
------------
If PEAR DB_oci8::options('optimize' => 'portability'), DB_oci8::tableInfo() should return lower-case metadata.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 11:00:01 2025 UTC |
Here is the patch: Can anyone review it ? Index: DB/oci8.php =================================================================== RCS file: /repository/pear/DB/DB/oci8.php,v retrieving revision 1.11 diff -u -u -r1.11 oci8.php --- DB/oci8.php 22 Jul 2003 21:54:16 -0000 1.11 +++ DB/oci8.php 15 Aug 2003 17:52:51 -0000 @@ -757,7 +757,11 @@ return $this->raiseError(DB_ERROR_NOT_CAPABLE); } } - return $res; + if ($this->options['optimize'] == 'portability') { + return array_change_key_case($res, CASE_LOWER); + } else { + return $res; + } } // }}}