Skip to content
New issue

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

sqlparser: Limit nesting of parenthesized exprs #845

Merged
merged 2 commits into from
Jul 4, 2015
Merged

sqlparser: Limit nesting of parenthesized exprs #845

merged 2 commits into from
Jul 4, 2015

Conversation

sougou
Copy link
Contributor

@sougou sougou commented Jul 2, 2015

This addresses #767
as well as other situations where there's possibility of
indefinite nesting of SQL constructs. There may be other
non-parenthesized constructs that allow nesting, but this fix
doesn't address them for now.
I've also made a few lint fixes. sql.go is still in violation,
but that requires bigger work.

This addresses #767
as well as other situations where there's possibility of
indefinite nesting of SQL constructs. There may be other
non-aprentheszed constructs that allow nesting, but this fix
doesn't address them for now.
I've also made a few lint fixes. sql.go is still in violation,
but that requires bigger work.
@enisoc
Copy link
Member

enisoc commented Jul 2, 2015

LGTM

The previous change only handled nesting for one construt.
This change extends the limit to all parenthesized constructs.
@sougou
Copy link
Contributor Author

sougou commented Jul 4, 2015

Going to merge the additional additional change also, since it's just an extension of the previous one.

sougou added a commit that referenced this pull request Jul 4, 2015
sqlparser: Limit nesting of parenthesized exprs
@sougou sougou merged commit 791dc4b into master Jul 4, 2015
rsajwani pushed a commit to planetscale/vitess that referenced this pull request Aug 1, 2022
* Refresh rice box

Signed-off-by: Rohit Nayak <rohit@planetscale.com>

* Fix incorrect workflows

Signed-off-by: Rohit Nayak <rohit@planetscale.com>

* Sync after running make vtadmin_web_proto_types

Signed-off-by: Rohit Nayak <rohit@planetscale.com>

* Update message test to account for new interface

Signed-off-by: Rohit Nayak <rohit@planetscale.com>

* Try running with node v 16

Signed-off-by: notfelineit <notfelineit@gmail.com>

* Install @testing-library/user-event

Signed-off-by: notfelineit <notfelineit@gmail.com>

* test: remove planner-version flag change

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

Co-authored-by: notfelineit <notfelineit@gmail.com>
Co-authored-by: Harshit Gangal <harshit@planetscale.com>
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.

None yet

2 participants