Skip to content

sqlparser: add StrictDDL variant of ParseNext#4082

Merged
sougou merged 1 commit intovitessio:masterfrom
dt:strict
Jul 12, 2018
Merged

sqlparser: add StrictDDL variant of ParseNext#4082
sougou merged 1 commit intovitessio:masterfrom
dt:strict

Conversation

@dt
Copy link
Copy Markdown
Contributor

@dt dt commented Jul 12, 2018

This mirrors the StrictDDL variant of Parse allowing callers using
ParseNext to also opt into strict handling of DDLs.

@dt dt changed the title Add StrictDDL version of ParseNext sqlparser: add StrictDDL variant of ParseNext Jul 12, 2018
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the change. Could you also add a test for this functionality?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops, yes, added a test. Thanks!

This mirrors the `StrictDDL` variant of `Parse` allowing callers using
`ParseNext` to also opt into strict handling of DDLs.

Signed-off-by: David Taylor <tinystatemachine@gmail.com>
@sougou sougou merged commit d03dedc into vitessio:master Jul 12, 2018
@dt dt deleted the strict branch July 13, 2018 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants