-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql/schemachanger/scplan/internal/rules: more cleanup
This commit introduces nodeVars to help write rules in a cleaner way. It associates the variable triples for element, target, and node together in a structure. Release note: None
- Loading branch information
Showing
8 changed files
with
540 additions
and
482 deletions.
There are no files selected for viewing
222 changes: 111 additions & 111 deletions
222
pkg/sql/schemachanger/scplan/internal/rules/dep_drop.go
Large diffs are not rendered by default.
Oops, something went wrong.
395 changes: 199 additions & 196 deletions
395
pkg/sql/schemachanger/scplan/internal/rules/dep_index_and_column.go
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.