Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.2
-
None
Description
CREATE OR REPLACE VIEW v AS SELECT ('foo' LIKE 'bar') BETWEEN 0 AND 1; |
SELECT * FROM v; |
 |
# Cleanup
|
DROP VIEW v; |
10.2 27ea2963fc |
mysqltest: At line 2: query 'SELECT * FROM v' failed: 1064: 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 'between 0 and 1 AS `('foo' LIKE 'bar') BETWEEN 0 AND 1`' at line 1
|
Also reproducible on 10.3.
Not reproducible on 5.5-10.1, MySQL 5.6, 5.7.