| 1 |
SET sql_mode=ORACLE; |
| 2 |
# |
| 3 |
# MDEV-13384: "window" seems like a reserved column name but it's not listed as one |
| 4 |
# |
| 5 |
# Currently we allow window as an identifier, except for table aliases. |
| 6 |
# |
| 7 |
CREATE TABLE door (id INT, window VARCHAR(10)); |
| 8 |
SELECT id |
| 9 |
FROM door as window; |
| 10 |
ERROR 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 'window' at line 2 |
| 11 |
SELECT id, window |
| 12 |
FROM door; |
| 13 |
id window |
| 14 |
SELECT id, window |
| 15 |
FROM door as window; |
| 16 |
ERROR 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 'window' at line 2 |
| 17 |
DROP TABLE door; |