Re: oci8.php Patch

From: Date: Thu, 25 Oct 2001 22:41:23 +0000
Subject: Re: oci8.php Patch
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2379@lists.php.net to get a copy of this message
Quoting Paul Edmondson <paul@yospace.com>: > The first is that when using DB_FETCHMODE_ASSOC the key names returned > are all > in uppercase. Now this does not seem much of a problem to begin with. > However > when writing or porting applications that are database independent > this > becomes an issue. The fix for this is quite dirty but does however work > for > some situations by creating copies of the data in the hash with > lowercase > names. Amen! :) Perhaps by the use of DB::setOption it's possible for set upper or lower case names from ORacle for backwards compatibility. This of course begs the question of which to use for the default. lowercase gets my +1 on that but uppercase should be retained for backwards compatibility. Cheers, Graeme

« previous php.pear.dev (#2379) next »