Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
10.2.0-6, 10.2.0-7, 10.2.0-8
Description
mysql> CREATE VIEW v3 AS SELECT * FROM (SELECT s1 FROM t1) AS x;
ERROR 1349 (HY000): View's SELECT contains a subquery in the FROM clause
See http://bugs.mysql.com/bug.php?id=16757
and http://bugs.mysql.com/bug.php?id=12755
specifically Eric Bergen's comments about the complexity of removing this restriction. It should be doable without too much hassle, and as we can see from the comments, it would resolve a lot of issues for people.
Attachments
Issue Links
- duplicates
-
MDEV-12153 Subquery in FROM clause of views
- Closed
- is blocked by
-
MDEV-9664 Test MDEV-3944 (Allow derived tables in views)
- Closed
-
MDEV-9669 Syntax error upon select from a view with a FROM subquery
- Closed
-
MDEV-9671 Wrong result upon select from a view with a FROM subquery
- Closed
- is duplicated by
-
MDEV-9607 Remove restrictions on subqueries in VIEWs FROM clause
- Closed
- relates to
-
MDEV-9666 Allow derived tables update/insert
- Open
-
MDEV-12379 Server crashes in TABLE_LIST::is_with_table on SHOW CREATE VIEW
- Closed