Re: cvs: pear /MDB2/MDB2/Driver/Manager ibase.php
| From: | Lorenzo Alberton | Date: | Wed, 12 Oct 2005 17:16:33 +0000 |
| Subject: | Re: cvs: pear /MDB2/MDB2/Driver/Manager ibase.php | ||
| References: | 1 2 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-35462@lists.php.net to get a copy of this message | ||
Lukas Kahwe Smith wrote:
Oh, I did not expect ibase to need this code. But yeah now I remember why we do need it. Guess I need to readd it to the oci8 and pgsql driver as well. Sorry about that!np
I see. In this case I'd like to keep a more informative name, though, if you don't mind. Clear names help me quite a lot ;) Regards, -- Lorenzo Alberton http://pear.php.net/user/quipoI wanted to use $result here, to make the code more similar all around.if ($db->options['portability'] & MDB2_PORTABILITY_FIX_CASE && $db->options['field_case'] == CASE_LOWER ) { - $result = array_map(($db->options['field_case'] == CASE_LOWER ? 'strtolower' : 'strtoupper'), $result); + $sequences = array_map(($db->options['field_case'] == CASE_LOWER ? 'strtolower' : 'strtoupper'), $sequences); } - return $result; + return $sequences;