Bug #26091 | Query Browser gives SYNTAX ERROR when displaying hyphen containing columns | ||
---|---|---|---|
Submitted: | 5 Feb 2007 18:09 | Modified: | 6 Feb 2007 8:48 |
Reporter: | Clayton Nicholson | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Query Browser | Severity: | S3 (Non-critical) |
Version: | 1.2.9rc | OS: | Windows (XP SP2) |
Assigned to: | Mike Lischke | CPU Architecture: | Any |
Tags: | Dash, hyphen, Minus, query browser |
[5 Feb 2007 18:09]
Clayton Nicholson
[5 Feb 2007 18:12]
Clayton Nicholson
changed wording a little bit. The problem isn't selecting from hyphen containing columns, it is trying to return columns that have hyphens in their name.
[5 Feb 2007 20:51]
MySQL Verification Team
Thank you for the bug report. Verified with a table like below: mysql> SELECT t.`col-2` FROM tb t; +-------+ | col-2 | +-------+ | aa | | bb | +-------+ 2 rows in set (0.00 sec) mysql> show create table tb\G *************************** 1. row *************************** Table: tb Create Table: CREATE TABLE `tb` ( `col-1` bigint(20) unsigned NOT NULL auto_increment, `col-2` char(2) default NULL, UNIQUE KEY `col-1` (`col-1`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 1 row in set (0.00 sec)
[6 Feb 2007 8:48]
Mike Lischke
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 bug fix. More information about accessing the source trees is available at http://dev.mysql.com/doc/en/installing-source.html