You are here: Re: mysql_free_result() « PHP Programming Language « IT news, forums, messages
Re: mysql_free_result()

Posted by Man-wai Chang on 04/27/07 09:57

> Yes, when the script finishes executing. There is a memory leak somewhere
> though in mysql_query() and using mysql_free_result() doesn't properly free
> all the memory. Unless you are executing thousands of queries in a single
> script this shouldn't be a problem. If it is, you can just increase the
> available memory size for your script.

Memory leak? What about local variables?

This function reminds me of the RELEASE command in Foxpro. But then, I
never seen a need to use it as long as I declare the variables as LOCAL
or PRIVATE.

--
iTech Consulting Services Limited
Expert in ePOS (Point-Of-Sales) solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852)2325 3883 Fax: (852)2325 8288

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация