[MDEV-19045] Change in behavior upon creation of unlimited non-unique indexes Created: 2019-03-25 Updated: 2019-03-26 Resolved: 2019-03-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table, Data types |
| Affects Version/s: | 10.4 |
| Fix Version/s: | 10.4.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Before
Now instead it causes a warning, also regardless the strictness of SQL_MODE, and an index is created with automatically specified length:
If the change is intentional, it needs to be documented somewhere. |
| Comments |
| Comment by Sachin Setiya (Inactive) [ 2019-03-26 ] | |||||||||||||||
|
In 10.4
In 10.3
| |||||||||||||||
| Comment by Elena Stepanova [ 2019-03-26 ] | |||||||||||||||
|
The change was intentional, introduced by commit https://github.com/MariaDB/server/commit/0477e80522adb28 , with the goal to make the behavior consistent with limited but too long indexes which would be shortened with a warning before, e.g.
|