Re: Waiting for query to finish before continuing
Posted by: Georg Richter
Date: December 17, 2005 01:55AM

Before you can execute any command you have to retrieve all resultsets from your multi statement call.
Even if there are no select statements MySQL Server returns a result package (returning errorcode or OK package) for each single statement.

For an example check: http://dev.mysql.com/doc/refman/5.0/en/c-api-multiple-queries.html

/Georg

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Waiting for query to finish before continuing
1154
December 17, 2005 01:55AM


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.