Re: [PHP-DEV] Same mysql link when calling mysql_connect a second time with same arguments

2001-04-13 Thread Zeev Suraski
It should be completely transparent (well, provided you're not using the new in-CVS feature of unbuffered queries). With no drawbacks, and a fair advantage, it's a better way to go than establish a new link. The current implementation suffers from a limitation, in which closing one of the link

Re: [PHP-DEV] Same mysql link when calling mysql_connect a second time with same arguments

2001-04-13 Thread Markus Fischer
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] [, >

[PHP-DEV] Same mysql link when calling mysql_connect a second time with same arguments

2001-04-12 Thread Markus Fischer
Hello, First, I know this behaviour exists since the early PHP3 days. 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] [,