[MDEV-5717] Server crash with insert statement containing DEFAULT into view Created: 2014-02-23 Updated: 2014-03-12 Resolved: 2014-03-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.3.12, 5.5.36, 10.0.8 |
| Fix Version/s: | 5.5.37, 10.0.10, 5.1.73, 5.2.15, 5.3.13 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Joshua Gardynik | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
When trying to insert a row into a view using the DEFAULT keyword, the server exits with signal 11:
|
| Comments |
| Comment by Elena Stepanova [ 2014-02-23 ] | ||||||||||||||
|
Thank you for the report and test case. Debug stack trace from 5.3 (to make it more searchable):
| ||||||||||||||
| Comment by Joshua Gardynik [ 2014-03-10 ] | ||||||||||||||
|
If this is already fixed, will it be available in 10.0.9, since 10.0.8 is the most recent release, or am I going to have to wait months for it to make it into the 10.0 releases? | ||||||||||||||
| Comment by Oleksandr Byelkin [ 2014-03-11 ] | ||||||||||||||
|
It was closed by accident | ||||||||||||||
| Comment by Sergei Golubchik [ 2014-03-11 ] | ||||||||||||||
|
falcon, so it seems that it was closed by mistake, a different bug was fixed instead. And then it avoided our radars because it was marked as fixed. Sorry for this. It'll be fixed in 10.0.10 | ||||||||||||||
| Comment by Oleksandr Byelkin [ 2014-03-12 ] | ||||||||||||||
|
Item_default_value has argument equal to NULL which cause the crash whan view tries to detect used tables. | ||||||||||||||
| Comment by Oleksandr Byelkin [ 2014-03-12 ] | ||||||||||||||
|
It is legal to gave empty arg, so the walk method should be fixed. |