Commit 91abdcb
committed
MySQL: allow USING clause before ON in CREATE INDEX
MySQL allows specifying the index type `USING index_type`
before the `ON` clause in `CREATE INDEX` statements.
This PR allows the `CREATE INDEX` parser to accept both
positions of the `USING` clause, regardless of the dialect.
docs: https://dev.mysql.com/doc/refman/8.4/en/create-index.html1 parent 6506814 commit 91abdcb
2 files changed
Lines changed: 62 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6876 | 6876 | | |
6877 | 6877 | | |
6878 | 6878 | | |
| 6879 | + | |
| 6880 | + | |
| 6881 | + | |
6879 | 6882 | | |
6880 | 6883 | | |
| 6884 | + | |
| 6885 | + | |
6881 | 6886 | | |
6882 | 6887 | | |
6883 | 6888 | | |
6884 | 6889 | | |
6885 | 6890 | | |
| 6891 | + | |
6886 | 6892 | | |
6887 | | - | |
6888 | | - | |
6889 | | - | |
6890 | | - | |
6891 | | - | |
| 6893 | + | |
| 6894 | + | |
| 6895 | + | |
| 6896 | + | |
| 6897 | + | |
| 6898 | + | |
| 6899 | + | |
6892 | 6900 | | |
6893 | 6901 | | |
6894 | 6902 | | |
| |||
8303 | 8311 | | |
8304 | 8312 | | |
8305 | 8313 | | |
| 8314 | + | |
| 8315 | + | |
| 8316 | + | |
| 8317 | + | |
| 8318 | + | |
| 8319 | + | |
| 8320 | + | |
| 8321 | + | |
8306 | 8322 | | |
8307 | 8323 | | |
8308 | 8324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16156 | 16156 | | |
16157 | 16157 | | |
16158 | 16158 | | |
| 16159 | + | |
| 16160 | + | |
| 16161 | + | |
| 16162 | + | |
| 16163 | + | |
| 16164 | + | |
| 16165 | + | |
| 16166 | + | |
| 16167 | + | |
| 16168 | + | |
| 16169 | + | |
| 16170 | + | |
| 16171 | + | |
| 16172 | + | |
| 16173 | + | |
| 16174 | + | |
| 16175 | + | |
| 16176 | + | |
| 16177 | + | |
| 16178 | + | |
| 16179 | + | |
| 16180 | + | |
| 16181 | + | |
| 16182 | + | |
| 16183 | + | |
| 16184 | + | |
| 16185 | + | |
| 16186 | + | |
| 16187 | + | |
| 16188 | + | |
| 16189 | + | |
| 16190 | + | |
| 16191 | + | |
| 16192 | + | |
| 16193 | + | |
| 16194 | + | |
| 16195 | + | |
| 16196 | + | |
| 16197 | + | |
| 16198 | + | |
| 16199 | + | |
0 commit comments