Bug #28009 | SP with PREPARE needs CLIENT_MULTI_RESULTS for statements without result | ||
---|---|---|---|
Submitted: | 22 Apr 2007 3:01 | Modified: | 3 Sep 2008 16:51 |
Reporter: | Ondra Zizka | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Stored Routines | Severity: | S2 (Serious) |
Version: | 5.0.37, 5.1, 4.1 | OS: | Any |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
Tags: | CLIENT_MULTI_RESULTS, prepare, prepare statement, stored procedure |
[22 Apr 2007 3:01]
Ondra Zizka
[23 Apr 2007 7:25]
Sveta Smirnova
Thank you for the report. Verified as described.
[23 Apr 2007 7:25]
Sveta Smirnova
test case
Attachment: bug28009.c (text/plain), 1.14 KiB.
[30 Apr 2007 19:10]
Konstantin Osipov
At the time the procedure is loaded it's impossible to tell whether dynamic sql statements will or will not return any result sets. Please consider upgrading your client - or, alternatively, fixing the old MySQL extension in PHP.
[6 Aug 2008 18:13]
Konstantin Osipov
This needs to be documented.
[3 Sep 2008 16:51]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.