note 85206 added to function.mysql-unbuffered-query
| From: | markus at buyways dot nl | Date: | Wed, 20 Aug 2008 08:51:14 +0000 |
| Subject: | note 85206 added to function.mysql-unbuffered-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-143669@lists.php.net to get a copy of this message | ||
@crazyone
as stated elsewhere, bear in mind that the MySQL API will still fetch all rows from MySQL when using
the mysql_free_result() function. MySQL behaviour will not change through clientside coding.
So if you request a million rows while the first 50 rows suffice, then you still missed the point of
unbuffered queries.
The manual is correct, you still need to fetch all rows from the result set whether you do it
manually or through mysql_free_result(), the behaviour remains the same.
----
Server IP: 83.137.20.135
Probable Submitter: 213.84.100.200
----
Manual Page -- http://www.php.net/manual/en/function.mysql-unbuffered-query.php
Edit -- https://master.php.net/note/edit/85206
Del: integrated -- https://master.php.net/note/delete/85206/integrated
Del: useless -- https://master.php.net/note/delete/85206/useless
Del: bad code -- https://master.php.net/note/delete/85206/bad+code
Del: spam -- https://master.php.net/note/delete/85206/spam
Del: non-english -- https://master.php.net/note/delete/85206/non-english
Del: in docs -- https://master.php.net/note/delete/85206/in+docs
Del: other reasons-- https://master.php.net/note/delete/85206
Reject -- https://master.php.net/note/reject/85206
Search -- https://master.php.net/manage/user-notes.php