Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.3(EOL)
Description
In Oracle these keywords work in assignments:
- CONTAINS
- LANGUAGE
- NO
- CHARSET
- FOLLOWS
- PRECEDES
In MariaDB this script returns a syntax error:
SET sql_mode=ORACLE; |
DELIMITER /
|
|
DECLARE
|
CONTAINS INT; |
BEGIN
|
CONTAINS:=10; |
END; |
/
|
|
DECLARE
|
LANGUAGE INT; |
BEGIN
|
LANGUAGE:=10;
|
END; |
/
|
|
DECLARE
|
NO INT; |
BEGIN
|
NO:=10; |
END; |
/
|
|
DECLARE
|
CHARSET INT; |
BEGIN
|
CHARSET:=10;
|
END; |
/
|
|
DECLARE
|
FOLLOWS INT; |
BEGIN
|
FOLLOWS:=10;
|
END; |
/
|
|
DECLARE
|
PRECEDES INT; |
BEGIN
|
PRECEDES:=10;
|
END; |
/
|
Attachments
Issue Links
- relates to
-
MDEV-10485 "Unreserve" MariaDB reserved keywords that are not reserved in the other databases
- Open
-
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