Re: [PHP-DEV] Re: [PATCH] optional parameter to mysql_connect() to create truly new link

2001-11-21 Thread Markus Fischer
On Wed, Nov 21, 2001 at 12:16:51PM +0200, Lenar Lõhmus wrote : Markus Fischer wrote: Hi, The attached patch against current CVS adds an optional parameter to mysql_connect() to specify if a truly new link to the database should be established. The patch changes the

Re: [PHP-DEV] Re: [PATCH] optional parameter to mysql_connect() to create truly new link

2001-11-21 Thread Lenar Lõhmus
Hi, I think no magic needed, optional parameter is good enough solution and gives the control to the hands of programmer. Just - there should be this flag for both: mysql_connect() and mysql_pconnect(). And I agree different usernames is not the right thing to suggest. Lenar Markus Fischer