Conversation
Signed-off-by: Nicolai Ehrhardt <245527909+predictor2718@users.noreply.github.com>
Signed-off-by: Nicolai Ehrhardt <245527909+predictor2718@users.noreply.github.com>
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 <245527909+predictor2718@users.noreply.github.com>
Signed-off-by: Nicolai Ehrhardt <245527909+predictor2718@users.noreply.github.com>
|
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 |
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.