On Thu, Apr 12, 2001 at 11:23:15PM +0200, Markus Fischer wrote : 
> Would it be an option to extend mysql_(p)connect to return new
> links instead of allready created one with a new, optional
> parameter ? Like :
> int mysql_connect ([string hostname [:port] [:/path/to/socket] [, 
>                    string username [, string password [, boolean new_link]]]])

        I just wanted to add that this behaviour may apply to
other databases, I dont know, but I verified it with current
oracle implementation and it does not behave the same as mysql
does. A new link identifier is created with every call to
OCILogon wether the arguments are the same or not.

The oci8 extension does not use a cache of established links
which is the right thing IMHO. Or, yes you could definitly add
caching established links here too (if its programmatically
possible ...) but should have the option whether to do so or not.

someone sharing my ideas ?


Markus Fischer,  http://josefine.ben.tuwien.ac.at/~mfischer/
EMail:         [EMAIL PROTECTED]
PGP Public  Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc
PGP Fingerprint: D3B0 DD4F E12B F911 3CE1  C2B5 D674 B445 C227 2BD0

PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to