We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
NO
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was writing a PR for #1102, and I found a bug where a dangling No slips through in create sequence options
No
https://github.com/sqlparser-rs/sqlparser-rs/blob/b0b62887a2bbc464642a17e590b259411bf1c11d/src/parser/mod.rs#L8604-L8611
If a No is consumed, the case where nothing exists isn't handled.
This should be
if self.parse_keywords(&[Keyword::NO, Keyword::CYCLE]) { sequence_options.push(SequenceOptions::Cycle(true)); } else if self.parse_keywords(&[Keyword::CYCLE]) { sequence_options.push(SequenceOptions::Cycle(false)); }
I will open a PR.
The text was updated successfully, but these errors were encountered:
CREATE SEQUENCE
Successfully merging a pull request may close this issue.
I was writing a PR for #1102, and I found a bug where a dangling
No
slips through in create sequence optionshttps://github.com/sqlparser-rs/sqlparser-rs/blob/b0b62887a2bbc464642a17e590b259411bf1c11d/src/parser/mod.rs#L8604-L8611
If a
No
is consumed, the case where nothing exists isn't handled.This should be
I will open a PR.
The text was updated successfully, but these errors were encountered: