Bug #13433 Partitions: delimited identifiers cause syntax errors
Submitted: 23 Sep 2005 19:29 Modified: 2 Apr 2006 8:16
Reporter: Peter Gulutzan
Status: Closed
Category:Server: Partition Severity:S3 (Non-critical)
Version:5.1.2-alpha-debug OS:Linux (SUSE 9.2)
Assigned to: Mikael Ronstrom Target Version:

[23 Sep 2005 19:29] Peter Gulutzan
Description:
I should be able to use delimited identifiers in the
PARTITION KEY and PARTITION clauses. I can't.

How to repeat:
mysql> create table abc(`a b c` int) partition by key(`a b c`);
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'b c) (PARTITION
p0  ENGINE = MyISAM)' at line 1
[18 Oct 2005 16:17] Mikael Ronstrom
Use field delimiters on field names in frm file to ensure all field names becomes correct
when parsed from frm file
[19 Oct 2005 12:54] Jon Stephens
Changed category to Server/Partitioning.
[1 Apr 2006 12:57] Mikael Ronstrom
This patch will appear in 5.1.9
[2 Apr 2006 8:16] 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.9 changelog. Closed.