Bug #15336 Partitions: crash if create table as select
Submitted: 30 Nov 2005 0:10 Modified: 24 Mar 2006 6:34
Reporter: Peter Gulutzan Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Partitions Severity:S3 (Non-critical)
Version:5.1.4-alpha-debug OS:Linux (SUSE 10.0)
Assigned to: Sergei Glukhov CPU Architecture:Any

[30 Nov 2005 0:10] Peter Gulutzan
Description:
If I say CREATE TABLE ... PARTITION ... AS SELECT ..., crash.

How to repeat:
mysql> create  table tm8 (s1 int) partition by hash (s1) as select 1;
ERROR 2013 (HY000): Lost connection to MySQL server during query
[30 Nov 2005 0:15] Jorge del Conde
I was able to reproduce this bug with a fresh clone of 5.1 under FC4
[6 Mar 2006 14:51] 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/3507
[20 Mar 2006 14:55] 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/3979
[20 Mar 2006 14:58] Sergei Glukhov
Fixed in 5.1.8
[24 Mar 2006 6:34] 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.1.8 changelog. Closed.