[imp] sql.php patches for Oracle.

Jon Parise jon@horde.org
Tue, 15 Jan 2002 18:29:30 -0500


On Tue, Jan 15, 2002 at 05:48:15PM -0500, Mike Coughlan wrote:

> For those relying on Oracle, here is the necessary patch:
> 
> /horde/lib/Prefs/sql.php
> line 184
> --               $name = trim($row['pref_name']);
> ++               $name = trim($row['PREF_NAME']);
> 
> line 186
> --                    $this->prefs[$name]['val'] = $row['pref_value'];
> ++                    $this->prefs[$name]['val'] = $row['PREF_VALUE'];
> 
> If some clever PHP person can find an appropriate placement for a
> Lowercase() function, I would appreciate it.  As you might guess, my PHP
> skills are nonexistent.
> 
> Would the Horde dev team consider this to be a bug in the OCI8 driver?
 
What piece of software imposes the case limitation?  Does Oracle
require that field names be in uppercase?

-- 
Jon Parise (jon@csh.rit.edu)  .  Information Technology (2001)
http://www.csh.rit.edu/~jon/  :  Computer Science House Member