Bug #16980 | Can't use a column named RELEASE anymore since v5.x update. | ||
---|---|---|---|
Submitted: | 31 Jan 2006 15:52 | Modified: | 31 Jan 2006 16:09 |
Reporter: | Maketsi | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.18 | OS: | Linux (Suse Linux 9.2, kernel 2.6.8-24) |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[31 Jan 2006 15:52]
Maketsi
[31 Jan 2006 16:09]
MySQL Verification Team
Please read: http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html and you should notice RELEASE is now a reserved word so you need to handle it how reserved word: miguel@hegel:~/dbs/5.0> bin/mysqladmin -uroot create db34 miguel@hegel:~/dbs/5.0> bin/mysql -uroot db34 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 to server version: 5.0.19-debug Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> create table movie ( title char(50), `release` char(50) ); Query OK, 0 rows affected (0.01 sec) mysql> insert into movie (title, `release`) values ("aaa", "aaa-21"); Query OK, 1 row affected (0.00 sec) mysql> select * from movie; +-------+---------+ | title | release | +-------+---------+ | aaa | aaa-21 | +-------+---------+ 1 row in set (0.00 sec) mysql>