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
>     prototype to:
> 
>     resource mysql_connect ([string hostname [, string username [, string
>     password [, bool new_link ]]]]);
> 
>     There is no BC issue. The optional parameter is ignored when
>     using mysql_pconnect().

I think it's not right to ignore this with mysql_pconnect().
In this case the meaning of this flag should be: 'return existing  mysql 
resource (or create new) not yet returned by similar call during this 
request'

I'mean I would like to take advantage of mysql_pconnect() - still I have 
two databases and only one mysql user account. 

> 
>     FYI: This is what a few people have complained about in the
>     past and there are existing Bu^H^HFeature Requests for this
>     behaviour (can't find them right now, too late).
> 

#14137

Lenar

-- 
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