Re: C Api executing Stored Procedures
Craig.
I did sort of understand what you wanted to do but glossed over it as I don't know the answer :) (I don;t think anybody does at the moment). Not wanting to be critical of Stored Procedures but it seems as if they have been designed so that MySQL can say they have them, currently there doesn't seem to be a great deal of support when calling them from another language or an API.
Your correct in that you can't return a result set as you can with other database procedural languages. The comment in the documentation is a bit misleading. It depends on your definition of a results set, what the comment refers to is a set of results as if you just called an SQL statement. What I would term a results set would be something in the parameter list that will pass back the results to the calling procedure (MySQL stored procedure, API etc).
I don't know a great deal about the API so I can't really comment on it too much. I think the CLIENT_MULTI_RESULTS stuff is more to do with the parser than anything usefull at this stage. If you just issued a SELECT via the API how do you handle the rows that come back, can you do the same thing for the procedure?
Andrew Gilfrin
http://www.mysqldevelopment.com
Subject
Written By
Posted
February 15, 2005 09:52AM
February 15, 2005 10:04AM
February 15, 2005 03:37PM
February 16, 2005 08:28AM
Re: C Api executing Stored Procedures
February 16, 2005 12:44PM
February 17, 2005 06:30AM
February 17, 2005 06:31AM
February 17, 2005 10:20AM
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.