Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.3(EOL)
-
None
Description
This script works fine in Oracle:
BEGIN
|
FOR i IN (1)..(2) |
LOOP
|
NULL; |
END LOOP; |
END; |
/
|
An equivalent script in MariaDB fails on error:
SET sql_mode=ORACLE; |
DELIMITER /
|
BEGIN
|
FOR i IN (1)..(2) |
LOOP
|
NULL; |
END LOOP; |
END; |
/
|
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 '1)..(2)
|
Attachments
Issue Links
- relates to
-
MDEV-15944 Subquery is not allowed as the lower FOR loop bound
- Open