[MDEV-10035] DBUG_ASSERT on CREATE VIEW v1 AS SELECT * FROM t1 FOR UPDATE Created: 2016-05-06 Updated: 2017-01-04 Resolved: 2017-01-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser, Views |
| Affects Version/s: | 10.0, 10.1 |
| Fix Version/s: | 10.0.29, 10.1.21 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Sprint: | 10.2.1-5, 10.2.2-1, 10.2.2-2, 10.0.29 | ||||||||||||
| Description |
|
This script makes the server crash on assert in debug builds:
FOR UPDATE should probably be disallowed in VIEWs. |
| Comments |
| Comment by Elena Stepanova [ 2016-05-13 ] | ||||||||||||||||
|
| ||||||||||||||||
| Comment by Oleksandr Byelkin [ 2016-05-15 ] | ||||||||||||||||
|
revision-id: 4ffe2295e78538dde93df078421726f0c5a7d2a2 (mariadb-10.2.0-29-g4ffe229)
Lock type specifications prohibited in a view definition. — | ||||||||||||||||
| Comment by Oleksandr Byelkin [ 2016-05-17 ] | ||||||||||||||||
|
Conclusion after discussion: 1) Allow lock type in view | ||||||||||||||||
| Comment by Elena Stepanova [ 2016-07-23 ] | ||||||||||||||||
|
Is it really going to be fixed only in 10.2 as the 'Fix version/s' says? | ||||||||||||||||
| Comment by Sergei Golubchik [ 2016-07-23 ] | ||||||||||||||||
|
Let's decide on that when we'll have a reviewed patch | ||||||||||||||||
| Comment by Oleksandr Byelkin [ 2016-09-04 ] | ||||||||||||||||
|
It is pushed. If it should be backported to other versions I can do it. | ||||||||||||||||
| Comment by Elena Stepanova [ 2016-10-03 ] | ||||||||||||||||
|
If it should be in previous versions, why wasn't it pushed there at the first place, and why close the bug now? Re-opened for backporting. Also, the fix version must be wrong, if it was fixed a month ago it went to 10.2.2, not 10.2.3. | ||||||||||||||||
| Comment by Oleksandr Byelkin [ 2017-01-04 ] | ||||||||||||||||
|
5.5 it works... |