[MDEV-13923] Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' failed upon altering table with geometry field Created: 2017-09-27 Updated: 2020-05-05 Resolved: 2017-10-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table, GIS, Storage Engine - InnoDB |
| Affects Version/s: | 10.2.6, 10.2 |
| Fix Version/s: | 10.2.10 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Alexey Botchkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Sprint: | 10.2.10 | ||||||||||||||||||||||||
| Description |
|
No visible effect on non-debug build (just a complaint about wrong default value). |
| Comments |
| Comment by Marko Mäkelä [ 2017-09-29 ] | ||
|
I am rather sure that this must be due to the default value calculation in the InnoDB implementation of ALGORITHM=INPLACE. Before It would be nice if the default value expressions for geometry columns were validated at CREATE TABLE or ALTER TABLE time. | ||
| Comment by Alexey Botchkov [ 2017-10-09 ] | ||
|
Fix proposal: | ||
| Comment by Alexey Botchkov [ 2017-10-09 ] | ||
|
Updated patch: | ||
| Comment by Alexey Botchkov [ 2017-10-10 ] | ||
|
http://lists.askmonty.org/pipermail/commits/2017-October/011549.html | ||
| Comment by Alexey Botchkov [ 2017-10-10 ] | ||
|
http://lists.askmonty.org/pipermail/commits/2017-October/011551.html | ||
| Comment by Alexander Barkov [ 2017-10-10 ] | ||
|
It also crashes the other way around:
|