From:             [EMAIL PROTECTED]
Operating system: win98
PHP version:      4.0.6
PHP Bug Type:     Documentation problem
Bug description:  don't agree to the persistent connection manual section

When I did the following:
1. handle a = pconnect to a mysql db, say user "root", no password,
2. select database "a"
3. handle b = pconnect to same mysql db, user "root", no password,
4. select database "b"

If i run a query against the database using handle a, it will have database
b selected. However, the manual says on persistent connections:

An important summary. Persistent connections were designed to have
one-to-one mapping to regular connections. That means that you should
always be able to replace persistent connections with non-persistent
connections, and it won't change the way your script behaves. It may (and
probably will) change the efficiency of the script, but not its behavior!


This does *not* hold true, at least for mysql persistent connections in
that case.

If this behaviour is not by design in 4.0.6 on Win 98, I will be happy to
provide more information if required.
Edit bug report at:

PHP Development Mailing List <>
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