note 56958 added to function.mysql-free-result

From: Date: Tue, 20 Sep 2005 11:45:17 +0000
Subject: note 56958 added to function.mysql-free-result
Groups: php.notes 
Request: Send a blank email to php-notes+get-95468@lists.php.net to get a copy of this message
yes, i encountered that too. as far as i could tell, that's because the script is stored in memory after being compiled and that's as much more memory as it needs for a call to that function. if you always get lotsa data in your results, using this function will decrease memory usage tho, unless you use non-buffered queries (which are preferable unless you absolutely *have* to use mysql_seek(), or you need to do another query while the last one hasn't finished reporting back, as they can provide a small speedup) ---- Manual Page -- http://www.php.net/manual/en/function.mysql-free-result.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+56958 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56958&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56958&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56958&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56958&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56958&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+56958&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56958&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+56958&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#95468) next »