cvs: php4 /pear/DB ibase.php

From: Date: Thu, 07 Feb 2002 00:40:37 +0000
Subject: cvs: php4 /pear/DB ibase.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-2317@lists.php.net to get a copy of this message
cox Wed Feb 6 19:40:37 2002 EDT Modified files: /php4/pear/DB ibase.php Log: change column case to lower in compatibility mode Index: php4/pear/DB/ibase.php diff -u php4/pear/DB/ibase.php:1.32 php4/pear/DB/ibase.php:1.33 --- php4/pear/DB/ibase.php:1.32 Wed Feb 6 19:39:35 2002 +++ php4/pear/DB/ibase.php Wed Feb 6 19:40:37 2002 @@ -16,7 +16,7 @@ // | Authors: Sterling Hughes <sterling@php.net> | // +----------------------------------------------------------------------+ // -// $Id: ibase.php,v 1.32 2002/02/07 00:39:35 cox Exp $ +// $Id: ibase.php,v 1.33 2002/02/07 00:40:37 cox Exp $ // // Database independent query interface definition for PHP's Interbase // extension. @@ -152,6 +152,9 @@ } if ($fetchmode & DB_FETCHMODE_ASSOC) { $ar = get_object_vars(ibase_fetch_object($result)); + if ($ar && $this->options['optimize'] == 'portability') { + $arr = array_change_key_case($arr, CASE_LOWER); + } } else { $ar = ibase_fetch_row($result); }

« previous php.pear.cvs (#2317) next »