Bug #30073 | Simple select stored procedures return mutiple results | ||
---|---|---|---|
Submitted: | 26 Jul 2007 15:04 | Modified: | 30 Jul 2007 23:03 |
Reporter: | Jeff Ward | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: C API (client library) | Severity: | S3 (Non-critical) |
Version: | 5.1.20 | OS: | Windows |
Assigned to: | CPU Architecture: | Any |
[26 Jul 2007 15:04]
Jeff Ward
[30 Jul 2007 23:03]
Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Please read carefully about CALL syntax at http://dev.mysql.com/doc/refman/5.1/en/call.html and especcially about "C API Handling of Multiple Statement Execution" at http://dev.mysql.com/doc/refman/5.1/en/c-api-multiple-queries.html: Multiple-result processing also is required if you execute CALL statements for stored procedures: A stored procedure returns a status result when it terminates, but it may also produce result sets as it runs (for example, if it executes SELECT statements). For any stored procedure that produces result sets in addition to the final status, you must be prepared to retrieve multiple results.