List:General Discussion« Previous MessageNext Message »
From:Roland Volkmann Date:October 15 2006 12:29pm
Subject:result set on prepared statements
View as plain text  
Hello all,

using MySQL C API function "|mysql_query()" with a query producing a
result set, I have to fetch *all* records, if I use
"||mysql_use_result()" to avoid a client side cursor. So it's written in
the manual section |22.2.3.70.

But if I want to use prepared statements with MySQL C API functions "
|mysql_stmt_prepare()", ||"mysql_stmt_execute()" and
"||mysql_stmt_fetch()", I can't find anything in the manual, whether I
also have to fetch *all* records, when not using
"||mysql_stmt_store_result()" (I don't want to use client side cursor).
MySQL Version is 5.0.26 on Windows 32 Bit.

Any Information is welcome.


With best regards,

Roland.
|
Thread
result set on prepared statementsRoland Volkmann15 Oct
  • Re: result set on prepared statementsVisolve DB Team17 Oct
    • Re: result set on prepared statementsRoland Volkmann17 Oct