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

schemaexpr: remove unnecessary structs #65100

Merged
merged 2 commits into from
May 17, 2021

Conversation

mgartner
Copy link
Collaborator

schemaexpr: remove ComputedColumnValidator struct

This commit removes schemaexpr.ComputedColumnValidator. The struct's
methods did not store any state in the struct, so they have been
converted to functions without a receiver.

Release note: None

schemaexpr: remove IndexPredicateValidator struct

This commit removes schemaexpr.IndexPredicateValidator. The struct's
methods did not store any state in the struct, so they have been
converted to functions without a receiver.

Release note: None

@mgartner mgartner requested a review from postamar May 12, 2021 23:29
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@mgartner mgartner requested a review from a team May 13, 2021 00:29
mgartner added 2 commits May 17, 2021 10:32
This commit removes `schemaexpr.ComputedColumnValidator`. The struct's
methods did not store any state in the struct, so they have been
converted to functions without a receiver.

Release note: None
This commit removes `schemaexpr.IndexPredicateValidator`. The struct's
methods did not store any state in the struct, so they have been
converted to functions without a receiver.

Release note: None
@mgartner mgartner force-pushed the remove-schemaexpr-structs branch from b7d9c42 to 1c40f61 Compare May 17, 2021 17:32
@mgartner
Copy link
Collaborator Author

Friendly ping.

Copy link
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @postamar)

@mgartner
Copy link
Collaborator Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented May 17, 2021

Build succeeded:

@craig craig bot merged commit 088ff24 into cockroachdb:master May 17, 2021
@mgartner mgartner deleted the remove-schemaexpr-structs branch May 17, 2021 22:22
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.

3 participants