[MDEV-25508] SHOW CREATE TABLE does not consistently display ignored index status Created: 2021-04-24 Updated: 2021-04-24 Resolved: 2021-04-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | N/A |
| Affects Version/s: | 10.6.0 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Ian Gilfillan | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: | |||
| Description |
|
This doesn't appear to affect all environments - I tested this with http://hasky.askmonty.org/archive/10.6/build-39581/kvm-bintar-trusty-amd64/ |
| Comments |
| Comment by Elena Stepanova [ 2021-04-24 ] |
|
It looks like you have sql_mode set to (at least) NO_KEY_OPTIONS and NO_TABLE_OPTIONS. Could it be? |
| Comment by Elena Stepanova [ 2021-04-24 ] |
|
or sql_mode=ORACLE, for example. |
| Comment by Ian Gilfillan [ 2021-04-24 ] |
|
I had Oracle mode active. Works in default SQL_MODE. |
| Comment by Elena Stepanova [ 2021-04-24 ] |
|
It's meant to be so for ORACLE mode, as it sets NO_KEY_OPTIONS. |