[MDEV-10022] Keywords UTC_DATE, UTC_TIME, UTC_TIMESTAMP should be non-reserved Created: 2016-05-04  Updated: 2019-03-15

Status: Open
Project: MariaDB Server
Component/s: Parser, Temporal Types
Affects Version/s: 5.5, 10.0, 10.1, 10.2
Fix Version/s: 10.4

Type: Bug Priority: Minor
Reporter: Alexander Barkov Assignee: Alexander Barkov
Resolution: Unresolved Votes: 0
Labels: upstream


 Description   

Keywords UTC_DATE, UTC_TIME, UTC_TIMESTAMP should not be reserved. Now they are:

SELECT * FROM utc_time; 

returns an error:

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_time' at line 1

MySQL-5.7 is also affected:
http://bugs.mysql.com/bug.php?id=81309


Generated at Thu Feb 08 07:39:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.