[MDEV-4437] ALTER TABLE .. ADD UNIQUE INDEX IF NOT EXISTS causes syntax error Created: 2013-04-25 Updated: 2013-11-14 Resolved: 2013-11-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.2 |
| Fix Version/s: | 10.0.6 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Alexey Botchkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Test case:
Output:
Apparently this variation somehow slipped from the syntax changes. This one works:
This of course works too:
And other modifiers work (with corresponding data types):
|
| Comments |
| Comment by Alexey Botchkov [ 2013-11-13 ] |
|
Patch to be reivewed: |
| Comment by Sergei Golubchik [ 2013-11-13 ] |
|
ok to push |