Bug #10136 | select returns wrong result when called from stored procedure | ||
---|---|---|---|
Submitted: | 25 Apr 2005 5:36 | Modified: | 22 Jun 2005 7:50 |
Reporter: | Jacek Becla | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S2 (Serious) |
Version: | 5.0.4-beta-standard | OS: | |
Assigned to: | Oleksandr Byelkin | CPU Architecture: | Any |
[25 Apr 2005 5:36]
Jacek Becla
[20 May 2005 14:48]
Per-Erik Martin
A simpler test case: CREATE PROCEDURE pp2() BEGIN DECLARE done INT DEFAULT 3; REPEAT SELECT * from pt; set done = done - 1; UNTIL done <= 0 END REPEAT; END
[21 Jun 2005 21:17]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/26264
[22 Jun 2005 6:31]
Oleksandr Byelkin
pushed to 5.0.8
[22 Jun 2005 7:50]
Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html Additional info: Documented fix in 5.0.8 change history; marked as Closed.