Bug #23216 | UPDATE/INSERT on ENUM columns fails unless column name is between ` (backquotes) | ||
---|---|---|---|
Submitted: | 12 Oct 2006 14:30 | Modified: | 13 Oct 2006 9:05 |
Reporter: | Marcello Golfieri | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.22 | OS: | Linux (Linux x86 (Fedora Core 5)) |
Assigned to: | CPU Architecture: | Any | |
Tags: | update insert backquote fail sql statement |
[12 Oct 2006 14:30]
Marcello Golfieri
[12 Oct 2006 14:52]
Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 5.0.26, and inform about the results.
[12 Oct 2006 15:00]
Marcello Golfieri
As you read from the OS field, I'm using Fedora Core 5. As of today (12-10-2006, h16.57 Rome Timezone) 'yum install mysql' gives me up-to-date status with 5.0.22. I can't install latest mysql snapshot, 'cos I need to stick to official fedora repositories. If this machine i'm working were mine, I'd already tried by myself. This is a production server, the less I mess around, the better, you know... Sorry about that.
[12 Oct 2006 17:18]
Martin Friebe
apologies, for getting into here... But, does that only apply if the column is called "group"? Because this is a reserved word. see also http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html
[12 Oct 2006 17:55]
Marcello Golfieri
Case closed, you're SOOOO right didn't think about it. Actually, being the term GROUP inside () in the INSERT statement didn't even for a moment make me think of such a motivation. Even if this is not a bug, it should be anyway be reworked, IMHO. Thanks a lot.