note 14796 added to function.mysql-unbuffered-query.php
| From: | stefan dot priebsch_AT_e-novative dot de at php2 dot chek dot com | Date: | Wed, 15 Aug 2001 09:20:04 +0000 |
| Subject: | note 14796 added to function.mysql-unbuffered-query.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16744@lists.php.net to get a copy of this message | ||
Maybe it could be made a little clearer here what "fetch all result rows before sending a new
query" means.
a) do I have to fetch all rows (even if my script does not need them)?
b) does it mean that the database's current result set is overwritten by a new query?
If a) should be true -which I personally do not believe- there should be a way of invalidating the
result set without having to fetch all rows.
Can someone of you PHP guys please also make a statement about how the unbuffered query behaves in a
scenario with multiple database connections, especially when using pconnect?
Including the above informations in this manual page will surely encourage many users to use this
seemingly very useful feature.
Stefan
http://www.php.net/manual/en/function.mysql-unbuffered-query.php