[MDEV-3944] Allow derived tables in VIEWS Created: 2012-12-17 Updated: 2017-03-29 Resolved: 2016-05-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Views |
| Fix Version/s: | 10.2.1 |
| Type: | Task | Priority: | Major |
| Reporter: | Arjen Lentz | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 8 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||||||||||||||||||||||
| Sprint: | 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; See http://bugs.mysql.com/bug.php?id=16757 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. |
| Comments |
| Comment by Arjen Lentz [ 2013-04-29 ] |
|
awesome, very happy to see this scheduled for fixing in 10.0.3 |
| Comment by Oleksandr Byelkin [ 2013-05-07 ] |
|
In MariaDB there is no so much work should be done, but still derived tables of view should be processed correctly to build its field translation table and privilages should be read also. |
| Comment by Emmanuel Galland [ 2013-10-14 ] |
|
Hello, |
| Comment by Emmanuel Galland [ 2015-05-02 ] |
|
Hello, |
| Comment by Oleksandr Byelkin [ 2015-05-02 ] |
|
It is more feature request, so bugs goes first, sorry. |
| Comment by Sergei Golubchik [ 2015-11-06 ] |
|
5.7 has it now |
| Comment by Oleksandr Byelkin [ 2016-02-29 ] |
|
revision-id: a6c0c01cec43731df3c58b4fdb68d3ac18e6c699 (mariadb-10.1.8-124-ga6c0c01)
— |
| Comment by Elena Stepanova [ 2016-02-29 ] |
|
Tree: 10.2- |
| Comment by Sergei Petrunia [ 2016-05-25 ] |
|
Ok to push. |