note 81891 added to function.mysql-free-result

From: Date: Tue, 18 Mar 2008 08:47:33 +0000
Subject: note 81891 added to function.mysql-free-result
Groups: php.notes 
Request: Send a blank email to php-notes+get-137157@lists.php.net to get a copy of this message
yes this function may increase the memory usage if you use unbuffered querys and if you have not fetched all the data from mysql. in this case the mysql api has a problem: you want to free the result but do not want to close the connection. now mysql will only accept another query if all data has been fetched, so the api now must fetch the rest of the data when calling mysql_free_result(). so only use unbuffered querys if you fetch all the data (and need it). ---- Server IP: 212.124.37.9 Probable Submitter: 217.91.122.6 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-free-result.php Edit -- https://master.php.net/note/edit/81891 Del: integrated -- https://master.php.net/note/delete/81891/integrated Del: useless -- https://master.php.net/note/delete/81891/useless Del: bad code -- https://master.php.net/note/delete/81891/bad+code Del: spam -- https://master.php.net/note/delete/81891/spam Del: non-english -- https://master.php.net/note/delete/81891/non-english Del: in docs -- https://master.php.net/note/delete/81891/in+docs Del: other reasons-- https://master.php.net/note/delete/81891 Reject -- https://master.php.net/note/reject/81891 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#137157) next »