Conversation
Signed-off-by: Nicolai Ehrhardt <[email protected]>
Signed-off-by: Nicolai Ehrhardt <[email protected]>
williamdes
left a comment
There was a problem hiding this comment.
Thank you for the PR, I am not too sure about using the in array check
Would DeSC still trigger this ?
Signed-off-by: Nicolai Ehrhardt <[email protected]>
Signed-off-by: Nicolai Ehrhardt <[email protected]>
|
Thank you for the review! Regarding the question about whether The parser normalizes keywords during lexing. So the condition is case-insensitive and mixed-case inputs won’t cause issues. To be safe, I also added additional tests covering:
All tests pass with the current implementation. |
Hi, |
|
@williamdes |
Pull-request: #636 Fixes: #592 Signed-off-by: William Desportes <[email protected]>
That's okay, I merged this PR as 5b68e01 into 5.11.x |
Description
This PR fixes incorrect parsing of
DESCinside index definitions inALTER TABLEstatements.Example:
This change updates AlterOperation::parse() so that ASC and DESC
are not interpreted as new statements within index definitions.
Fixes #592.