[MDEV-10785] Server crashes in Item_cond::copy_andor_arguments on 2nd execution of PS or SP Created: 2016-09-09 Updated: 2016-09-23 Resolved: 2016-09-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Prepared Statements, Views |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression-10.2 | ||
| Description |
|
Note: it might be a duplicate of
|
| Comments |
| Comment by Oleksandr Byelkin [ 2016-09-13 ] |
|
SELECT_LEX::prep_where was assigned with something which is not in statement memory stored. |
| Comment by Oleksandr Byelkin [ 2016-09-13 ] |
|
It was created in optimize_cond then somehow to prep_where assigned. |
| Comment by Oleksandr Byelkin [ 2016-09-13 ] |
|
It is VIEW select and prep_where was assigned only once... |
| Comment by Oleksandr Byelkin [ 2016-09-13 ] |
|
((f(0) <> 2) and (t1.i < 5)) |
| Comment by Oleksandr Byelkin [ 2016-09-13 ] |
|
Yes f(0) <> 2 was pushed. |
| Comment by Igor Babaev [ 2016-09-23 ] |
|
The fix for this bug was pushed into the 10.2 tree. |