Bug #22766 | stored procedure returning insert_id crash | ||
---|---|---|---|
Submitted: | 28 Sep 2006 1:19 | Modified: | 28 Oct 2006 11:41 |
Reporter: | Mike Willbanks | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Stored Routines | Severity: | S2 (Serious) |
Version: | 5.0.24a | OS: | Linux (Linux Red Hat EL4) |
Assigned to: | CPU Architecture: | Any | |
Tags: | Stored Procedure returning LAST_INSERT_ID crashes db. |
[28 Sep 2006 1:19]
Mike Willbanks
[28 Sep 2006 1:24]
Mike Willbanks
moved to proper category.
[28 Sep 2006 11:41]
Valeriy Kravchuk
Thank you for a problem report. Sorry, but I was not able to repeat the behaviour described with 5.0.26-BK on Linux AND(!) MySQL commend line client: openxs@suse:~/dbs/5.0> wc -l 22766.sql 6642 22766.sql openxs@suse:~/dbs/5.0> tail 22766.sql CALL prodOptInsert('Just some text to insert', 32, 1); CALL prodOptInsert('Just some text to insert', 32, 1); CALL prodOptInsert('Just some text to insert', 32, 1); CALL prodOptInsert('Just some text to insert', 32, 1); CALL prodOptInsert('Just some text to insert', 32, 1); CALL prodOptInsert('Just some text to insert', 32, 1); CALL prodOptInsert('Just some text to insert', 32, 1); CALL prodOptInsert('Just some text to insert', 32, 1); CALL prodOptInsert('Just some text to insert', 32, 1); CALL prodOptInsert('Just some text to insert', 32, 1); openxs@suse:~/dbs/5.0> bin/mysql -uroot test < 22766.sql ... id 6642 So, mysqli and/or prepared statements it may use by default may be a real problem here. Can you, please, try to provide a test case that shows the crash and is based on C API directly?
[28 Oct 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".
[9 Dec 2006 5:36]
Greg Kopp
I have also experienced this bug, although it may be a bug in the PHP mysqli extension and not in MySQL itself.