| Bug #19062 | Partitions: clause ignored if create from select | ||
|---|---|---|---|
| Submitted: | 12 Apr 2006 22:54 | Modified: | 22 May 2006 16:18 |
| Reporter: | Peter Gulutzan | ||
| Status: | Closed | ||
| Category: | Server: Partition | Severity: | S3 (Non-critical) |
| Version: | 5.1.10-beta-debug | OS: | Linux (SUSE 10.0 / 64-bit) |
| Assigned to: | Mikael Ronstrom | Target Version: | |
[13 Apr 2006 4:11]
Miguel Solorzano
Thank you for the bug report.
[20 May 2006 17:55]
Mikael Ronstrom
Patch will appear in 5.1.11
[22 May 2006 16:18]
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.11 changelog; closed.

Description: I can say CREATE TABLE ... PARTITION BY HASH ... SELECT ... But the PARTITION BY clause is ignored. How to repeat: mysql> create table t65 partition by hash(s1) as select 'a'; Query OK, 1 row affected (0.00 sec) Records: 1 Duplicates: 0 Warnings: 0 mysql> show create table t65; +-------+---------------------------------------------------------------------------------------------------------------------+ | Table | Create Table | +-------+---------------------------------------------------------------------------------------------------------------------+ | t65 | CREATE TABLE `t65` ( `a` varchar(1) CHARACTER SET utf8 NOT NULL DEFAULT '' ) ENGINE=MyISAM DEFAULT CHARSET=latin1 | +-------+---------------------------------------------------------------------------------------------------------------------+ 1 row in set (0.00 sec)