Bug #17290 | SP with delete, create and rollback to save point causes MySQLD core | ||
---|---|---|---|
Submitted: | 9 Feb 2006 21:54 | Modified: | 24 Mar 2006 13:51 |
Reporter: | Jonathan Miller | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Partitions | Severity: | S1 (Critical) |
Version: | 5.1.7 | OS: | Linux (Linux 32 Bit OS) |
Assigned to: | Alexey Botchkov | CPU Architecture: | Any |
[9 Feb 2006 21:54]
Jonathan Miller
[10 Feb 2006 9:58]
Tomas Ulin
moving to be a partiton bug as the issue is the same if create table is engine=innodb partition by key(num)
[25 Feb 2006 18:08]
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/commits/3141
[13 Mar 2006 13:59]
Mikael Ronström
Nope, this won't solve the problem. It's necessary to save a partition_info object as it was after the parser executed it in order to fix this type of issues with prepared statements and stored procedures
[20 Mar 2006 23:15]
Mikael Ronström
This patch will appear in 5.1.8 Calling CREATE TABLE/ALTER TABLE on partitioned table in prepared statement two times after each other, within a stored procedure led to this and many other duplicate bugs.
[20 Mar 2006 23:22]
Mikael Ronström
Clarification of comment for documenting. Calling a create/alter table twice in a stored procedure on partitioned table got this problem as well as a prepared statement as above that was called at least twice. The errors were sometimes crashing and sometimes not.
[24 Mar 2006 13:51]
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 bugfix in 5.1.8 changelog. Closed.