Bug #54491 | inconsistent handling of sql_no_cache between 5.1 and 5.5 | ||
---|---|---|---|
Submitted: | 14 Jun 2010 16:12 | Modified: | 14 Jun 2010 16:18 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Parser | Severity: | S3 (Non-critical) |
Version: | 5.5.3 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[14 Jun 2010 16:12]
Shane Bester
[14 Jun 2010 16:18]
MySQL Verification Team
miguel@tikal ~]$ dbs/5.5mr/bin/mysql -uroot Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.6.99-m4 Source distribution Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v2 license Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> set @a=(select sql_no_cache 1); 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 '1)' at line 1 mysql>
[14 Jun 2010 16:20]
MySQL Verification Team
Forgot to paste: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.1.49 Source distribution Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v2 license Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> set @a=(select sql_no_cache 1); Query OK, 0 rows affected (0.01 sec)
[17 Jun 2010 0:16]
Omer Barnir
triage: - the change of not supporting the query is expected. The bug is about the error message that is not wrong but can be improved as 'sql_no_cache' used to be a keyword - setting as CHECKED