List:General Discussion« Previous MessageNext Message »
From:Miguel Cardenas Date:September 18 2005 3:58pm
Subject:Re: mysql_free_result() WITHOUT mysql_fetch_row()
View as plain text  
> http://dev.mysql.com/doc/mysql/en/mysql-free-result.html
> it does not says : you have to retrieve all rows before freing it. So
> you should be able to free the result. Otherwise it's a bug or
> undocumented behaviour.
> But why don't you use the Count(*) solution ?? that's exactly what you
> need IMHO.

No, I don't need to know if exists *any* record, I need to know if it exist 
one specific record or set of records, but not to retrieve them, just need to 
know if it/they exist to take a decition on how to insert the following 
ones... if I need only to know if there is data on the table the COUNT(*) 
would be enough...

Thanks for the link, I'm gonna see it...

Regards
Thread
mysql_free_result() WITHOUT mysql_fetch_row()Miguel Cardenas17 Sep
  • Re: mysql_free_result() WITHOUT mysql_fetch_row()Dan Nelson17 Sep
    • Re: mysql_free_result() WITHOUT mysql_fetch_row()Miguel Cardenas18 Sep
      • Re: mysql_free_result() WITHOUT mysql_fetch_row()Pooly18 Sep
        • Re: mysql_free_result() WITHOUT mysql_fetch_row()Miguel Cardenas18 Sep
          • Re: mysql_free_result() WITHOUT mysql_fetch_row()Pooly19 Sep
Re: mysql_free_result() WITHOUT mysql_fetch_row()Pooly19 Sep
  • Re: mysql_free_result() WITHOUT mysql_fetch_row()Miguel Cardenas19 Sep
    • Re: mysql_free_result() WITHOUT mysql_fetch_row()SGreen19 Sep