Bug #13433 Partitions: delimited identifiers cause syntax errors
Submitted: 23 Sep 2005 17:29 Modified: 2 Apr 2006 6:16
Reporter: Peter Gulutzan Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Partitions Severity:S3 (Non-critical)
Version:5.1.2-alpha-debug OS:Linux (SUSE 9.2)
Assigned to: Mikael Ronström CPU Architecture:Any

[23 Sep 2005 17: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 14:17] Mikael Ronström
Use field delimiters on field names in frm file to ensure all field names becomes correct
when parsed from frm file
[19 Oct 2005 10:54] Jon Stephens
Changed category to Server/Partitioning.
[1 Apr 2006 10:57] Mikael Ronström
This patch will appear in 5.1.9
[2 Apr 2006 6: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.