note 95017 added to function.mysql-unbuffered-query
| From: | snail2008 at gmail dot com | Date: | Wed, 09 Dec 2009 08:37:20 +0000 |
| Subject: | note 95017 added to function.mysql-unbuffered-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163734@lists.php.net to get a copy of this message | ||
when you use the mysql_free_result,it will still fetch all rows from the result set.So the which
operation will cost less memory,fetch the first 50 rows and use the mysql_free_result or fetch all
rows.
if the behaviour remains the same,the advantge of the mysql_unbuffered_query is just the immediately
action rather than saves a considerable amount of memory.
----
Server IP: 69.147.83.197
Probable Submitter: 211.144.222.77
----
Manual Page -- http://www.php.net/manual/en/function.mysql-unbuffered-query.php
Edit -- https://master.php.net/note/edit/95017
Del: integrated -- https://master.php.net/note/delete/95017/integrated
Del: useless -- https://master.php.net/note/delete/95017/useless
Del: bad code -- https://master.php.net/note/delete/95017/bad+code
Del: spam -- https://master.php.net/note/delete/95017/spam
Del: non-english -- https://master.php.net/note/delete/95017/non-english
Del: in docs -- https://master.php.net/note/delete/95017/in+docs
Del: other reasons-- https://master.php.net/note/delete/95017
Reject -- https://master.php.net/note/reject/95017
Search -- https://master.php.net/manage/user-notes.php