Bug #15579 | Loop inside Loop into Cursor Loop crash | ||
---|---|---|---|
Submitted: | 8 Dec 2005 9:46 | Modified: | 20 Jan 2006 19:08 |
Reporter: | Michael Maréchal | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | Mysql 5.0.16 with WampServer 1.5 | OS: | Windows (Windows XP Pro) |
Assigned to: | CPU Architecture: | Any |
[8 Dec 2005 9:46]
Michael Maréchal
[8 Dec 2005 18:38]
Valeriy Kravchuk
Thank you for a problem report. Can you, please, send the SHOW CREATE TABLE results for the real tables used in you procedure, as well as some data for them. You may upload them as private. Or, even better, can you demonstrate the problem on a simple table with 2 rows, used in the outer "cursor loop"?
[9 Dec 2005 11:41]
Michael Maréchal
Here is the file with creation and insertion scripts u request !
[20 Dec 2005 19:08]
Valeriy Kravchuk
I've got the same behaviour you described in 5.0.16. But we need a simpler test case without your private data. So, please, try to NOT use SELECT... INTO... in your inner loops (just replace them with some SELECT 'debug text') and check, how many times the outer loop will be executed. Test this, and you original case on 5.0.17, now officially released, if you can.
[21 Jan 2006 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".