MySQL Forums
Forum List  »  Connector/C++

Re: Procedure and Call
Posted by: Ulf Wendel
Date: July 19, 2010 03:02PM

Cool! Basic challenge is to fetch all the result sets. You get one result set for the SP itself. And then you get one result set for each query result returned by the SP. Its no magic. See also http://dev.mysql.com/doc/refman/5.0/en/c-api-multiple-queries.html .

I don't have demo code at hand, but PHP's ext/mysqli is modeled very closely to the C API. If you find a PHP ext/mysqli example, you should be able to get the C API basics.

Options: ReplyQuote


Subject
Views
Written By
Posted
2717
July 07, 2010 08:12AM
1549
July 19, 2010 10:33AM
1330
July 19, 2010 01:38PM
Re: Procedure and Call
1450
July 19, 2010 03:02PM
1375
July 20, 2010 05:51AM
1509
July 20, 2010 05:56AM
1451
July 20, 2010 08:45AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.