[MDEV-12923] MyISAM allows CHECK constraint violation in ALTER TABLE Created: 2017-05-26 Updated: 2017-07-05 Resolved: 2017-07-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table, Storage Engine - MyISAM |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | check_constraints | ||
| Issue Links: |
|
||||||||
| Description |
|
The test case added in
fails as expected, because the column contains the values 0 and 10. However, MyISAM accepts the invalid constraint and only enforces it on subsequent DML operations. |