List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:September 11 2002 3:45pm
Subject:Re: do i must use mysql_free_result()?
View as plain text  
At 8:46 -0500 9/11/02, Dizzy Myope wrote:
>hi all:)    
>
>       int main(void)
>       {
>          .....
>          rs=mysql_store_result(&connection);//get result to rs
>          ......
>          mysql_free_result(rs);// it is necessary ???
>          rs=mysql_store_result(&connection);// get result to rs again.
>         
>       }   
>     
>        i write some codes with c++&mysql like above, and i want to know
>        between the same "mysql_res" used twice ,
>        it is necessary to use mysql_free_result() or not.

Yes.  Do you have some objection to doing so? :-)

>        3KS.
>        asap.    
>       
>             Dizzy Myope
>             linuxredhat@stripped

Thread
do i must use mysql_free_result()?Dizzy Myope11 Sep
Re: do i must use mysql_free_result()?Paul DuBois11 Sep