[MDEV-4593] p_s: crash in simplify_joins with delete using subselect from view Created: 2013-05-28 Updated: 2013-06-12 Resolved: 2013-06-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.2, 5.5.31, 5.3.12 |
| Fix Version/s: | 10.0.4, 5.5.32, 5.3.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | sbester1 | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Win X64, Linux |
||
| Description |
|
|
| Comments |
| Comment by Oleksandr Byelkin [ 2013-06-04 ] |
|
the problem is that derived->merged is not set for v1... |
| Comment by Oleksandr Byelkin [ 2013-06-04 ] |
|
merge for insert should be called only for one table (where we delete/insert) |
| Comment by Oleksandr Byelkin [ 2013-06-06 ] |
|
"merge for insert" put view table in place, then re-initialization before execution removes it, and normal merge does not touch it because the table marked as "merged for insert" and is not part of multi-update or multi-delete. IMHO "merge for insert" should be applicable only for tables which top view belongs to "main" SELECT_LEX |
| Comment by Oleksandr Byelkin [ 2013-06-12 ] |
|
pushed to 5.3 |