Commit faa6ccd
committed
fix: remove EXPRESSION column dependency in get_indexes_sql()
The EXPRESSION column in information_schema.STATISTICS only exists in
MySQL 8.0.13+. Using it breaks @Schema decoration on MySQL < 8.0.13 and
MariaDB. Use COLUMN_NAME directly; functional indexes with NULL column
names are already filtered out downstream.
Fixes #14361 parent dacf5ce commit faa6ccd
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
740 | | - | |
741 | | - | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
742 | 744 | | |
743 | 745 | | |
744 | 746 | | |
745 | | - | |
| 747 | + | |
746 | 748 | | |
747 | 749 | | |
748 | 750 | | |
| |||
0 commit comments