Date: 08/21/01
- Next message: Markus Fischer: "[PHP-DOC] array_walk"
- Previous message: Hartmut Holzgraefe: "[PHP-DOC] cvs: phpdoc /en/functions dbplus.xml"
- Next in thread: jah <email protected>: "[PHP-DOC] Bug #12885 Updated: don't agree to the persistent connection manual section"
- Reply: jah <email protected>: "[PHP-DOC] Bug #12885 Updated: don't agree to the persistent connection manual section"
- Reply: stefan.priebsch <email protected>: "[PHP-DOC] Bug #12885 Updated: don't agree to the persistent connection manual section"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: stefan.priebsch <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,
host=localhost
2. select database "a"
3. handle b = pconnect to same mysql db, user "root", no password,
host=localhost
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:
<quote>
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!
</quote>
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: http://bugs.php.net/?id=12885&edit=1
- Next message: Markus Fischer: "[PHP-DOC] array_walk"
- Previous message: Hartmut Holzgraefe: "[PHP-DOC] cvs: phpdoc /en/functions dbplus.xml"
- Next in thread: jah <email protected>: "[PHP-DOC] Bug #12885 Updated: don't agree to the persistent connection manual section"
- Reply: jah <email protected>: "[PHP-DOC] Bug #12885 Updated: don't agree to the persistent connection manual section"
- Reply: stefan.priebsch <email protected>: "[PHP-DOC] Bug #12885 Updated: don't agree to the persistent connection manual section"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

