Does the Mysql_free_result slow down the script at all?

Randy

-----Original Message-----
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to