RE: [PHP] mysql_free_result
| From: | Randy Johnson | Date: | Fri, 20 Apr 2001 07:02:22 +0000 |
| Subject: | RE: [PHP] mysql_free_result | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49640@lists.php.net to get a copy of this message | ||
Does the Mysql_free_result slow down the script at all?
Randy
-----Original Message-----
From: Rasmus Lerdorf [mailto:rasmus@php.net]
Sent: Friday, April 20, 2001 8:49 PM
To: Randy Johnson
Cc: Php-General
Subject: Re: [PHP] mysql_free_result
> Does php release the memory used by the result set when it is done
> executing?
Correct
> if so why should I use mysql_free_result()
In case you are making multiple queries within the same script and want to
keep your runtime memory usage low.
-Rasmus