Title: Fix #592 - desc index by predictor2718 · Pull Request #636 · phpmyadmin/sql-parser · GitHub
Open Graph Title: Fix #592 - desc index by predictor2718 · Pull Request #636 · phpmyadmin/sql-parser
X Title: Fix #592 - desc index by predictor2718 · Pull Request #636 · phpmyadmin/sql-parser
Description: Description This PR fixes incorrect parsing of DESC inside index definitions in ALTER TABLE statements. Example: ALTER TABLE `t` ADD UNIQUE KEY `idx` (`a`, `b` DESC); This change updates AlterOperation::parse() so that ASC and DESC are not interpreted as new statements within index definitions. Fixes #592.
Open Graph Description: Description This PR fixes incorrect parsing of DESC inside index definitions in ALTER TABLE statements. Example: ALTER TABLE `t` ADD UNIQUE KEY `idx` (`a`, `b` DESC); This change updates AlterOpe...
X Description: Description This PR fixes incorrect parsing of DESC inside index definitions in ALTER TABLE statements. Example: ALTER TABLE `t` ADD UNIQUE KEY `idx` (`a`, `b` DESC); This change updates AlterOpe...
Opengraph URL: https://github.com/phpmyadmin/sql-parser/pull/636
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:284294f3-06c2-f40a-54cf-1758cbf97d98 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8E3C:4DF1B:1D7A71A:26EC433:696D778B |
| html-safe-nonce | 9c695789a8dcee69835174ce77e0f5743a0c98f3badce30c07a18fd085cedfd0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTNDOjRERjFCOjFEN0E3MUE6MjZFQzQzMzo2OTZENzc4QiIsInZpc2l0b3JfaWQiOiIzMTE1NDI2MDU0MDEyNzYxOTk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | adf553e6be92ffbca68bf9982daddf5ddbda6b9dde9e5c338538ef974a41ed22 |
| hovercard-subject-tag | pull_request:3041712788 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/phpmyadmin/sql-parser/pull/636/files |
| twitter:image | https://avatars.githubusercontent.com/u/245527909?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/245527909?s=400&v=4 |
| og:image:alt | Description This PR fixes incorrect parsing of DESC inside index definitions in ALTER TABLE statements. Example: ALTER TABLE `t` ADD UNIQUE KEY `idx` (`a`, `b` DESC); This change updates AlterOpe... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/phpmyadmin/sql-parser git https://github.com/phpmyadmin/sql-parser.git |
| octolytics-dimension-user_id | 1351977 |
| octolytics-dimension-user_login | phpmyadmin |
| octolytics-dimension-repository_id | 36256604 |
| octolytics-dimension-repository_nwo | phpmyadmin/sql-parser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36256604 |
| octolytics-dimension-repository_network_root_nwo | phpmyadmin/sql-parser |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width