Details
-
Technical task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
MariaDB has a number of unnecessarily reserved keywords that are not reserved neither in the SQL standard nor in the other databases. This makes migration to MariaDB harder, as the DBA has to rename tables, columns and other objects.
LOCALTIMESTAMP is an example.
This query:
CREATE TABLE localtimestamp (a INT); |
works without problems in Oracle, but returns an error in MariaDB:
ERROR 1064 (42000): You have an error in your SQL syntax...near 'localtimestamp ...
|
Under terms of this tasks, we'll find all keywords that are reserved in MariaDB but not reserved in the other databases and try to "unreserve" those that do not really have to be reserved.
Attachments
Issue Links
- is part of
-
MDEV-11070 Providing compatibility to other databases - Phase 2
- Open
- relates to
-
MDEV-12518 Unify sql_yacc.yy and sql_yacc_ora.yy
- Closed
-
MDEV-16244 sql_mode=ORACLE: Some keywords do not work in variable declarations
- Closed
-
MDEV-16258 sql_mode=ORACLE: Keywords from keyword_verb_clause do not work in assignments
- Open
-
MDEV-16259 sql_mode=ORACLE: Keywords from keyword_sp_head do not work in assignments
- Open