Bug #18422 | Error Handler gives Lost Connection or catches nonexistant error in stored proc | ||
---|---|---|---|
Submitted: | 22 Mar 2006 14:29 | Modified: | 24 Apr 2006 11:31 |
Reporter: | Giles McArdell | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.19 | OS: | Linux (SUSE 10) |
Assigned to: | CPU Architecture: | Any |
[22 Mar 2006 14:29]
Giles McArdell
[23 Mar 2006 16:30]
Valeriy Kravchuk
Thank you for a problem report. Complete set of storage procedures (simplest one) and actual CALL statement that demonstrates the behaviour you described are really needed to verify this report.
[24 Mar 2006 11:14]
Giles McArdell
Thank you, I understand the problems you would have analysing such a bug without a suitable example. However the bug does not lend itself to being demonstrated with a simple example. I have attempted to create several test Stored Procs but the bug insists on only occurring in the full process and, as stated before, not always in the same place in that process. To give you the full set of code is not practical, there are 7 functions and 19 stored procs (over 4000 lines, much of which constitues my companies intellectual property). Also a minimum of some 20 tables, half of which need to be populated with data, probably about 1GB, some of which is sensitive client data. Sorry. :( What I can do is give you some more information from my investigations: The fix by removing the Handler is a red herring - this did get the code to work but the bug re-appeared later on (after some minor code changes). The bug has also manifested itself as Error 124 and is similar to bug #14616 (which is supposedly fixed). Bug #14616 is MyISAM only and I can confirm this is the same here, if I change the underlying tables to be InnoDB the bug does not occur. I have had a colleague test the code on a second MySQL (v5.0.19) server (SUSE Linux) and he has successfully repeated the bug. I shall continue to attempt to re-produce the bug in simpler form and will post if I succeed. Regards, Giles
[24 Mar 2006 11:31]
Valeriy Kravchuk
Thank you for the additional information. Please, try to create a smaller test case and reopen this report when you'll have more ideas on how to repeat this problem.
[24 Apr 2006 23: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".