MySQL Forums
Forum List  »  Stored Procedures

Re: Error 2013 Lost connection ... using stored procedures
Posted by: Arnon Jalon
Date: June 29, 2005 05:11PM

I think that I found the reason. The c api, which mysql++ wraps, treats result sets being returned by stored procedures as if they were returned by multiple query executions, and thus as multiple result sets. MySQL++ seems to have no way of dealing with multiple results sets from a multiple query execution. Even though the stored procedure above, get_mysql_sp_test_rec, only returns one result set as a result of one query, it appears that you still have to do some form of cleanup for each query by iterating through the potential result sets and freeing them, which mysql++ seems to have no mechanism for. On to the mysql++ forum ...

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Error 2013 Lost connection ... using stored procedures
2321
June 29, 2005 05:11PM


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.