Konstantin Osipov writes:
> * Michael Widenius <[EMAIL PROTECTED]> [02/03/26 12:41]:
>
>
> But, according to MYSQL C API documentation, 8.4.2,
>
>(http://www.mysql.com/documentation/mysql/bychapter/manual_Clients.html#C_API_function_overview)
> I have to do this:
>
> "An advantage of mysql_use_result() is that (...)
> (...)
> Furthermore, you must retrieve all the rows even if you determine in
> mid-retrieval that you've found the information you were looking for."
>
> Sorry && thank you.
>
> --
> WBW, Konstantin Osipov
>
A small clarification.
Monty has commented of your calling mysql_fetch_row() in Cursor
destructor.
As he said, you do not have to do that, as mysql_free_result will
clear the remaining rows in the result set from the server. That is
all.
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php