Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
108024: opt: remove unused OpName field of UniqueChecksItemPrivate r=mgartner a=mgartner

Epic: None

Release note: None

Co-authored-by: Marcus Gartner <[email protected]>
  • Loading branch information
craig[bot] and mgartner committed Aug 3, 2023
2 parents 9cabe8c + 9621134 commit 8fb2f86
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions pkg/sql/opt/ops/mutation.opt
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,4 @@ define UniqueChecksItemPrivate {
# KeyCols are the columns in the Check query that form the value tuple shown
# in the error message.
KeyCols ColList

# OpName is the name that should be used for this check in error messages.
OpName string
}
1 change: 0 additions & 1 deletion pkg/sql/opt/optbuilder/mutation_builder_unique.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,6 @@ func (h *uniqueCheckHelper) buildInsertionCheck() memo.UniqueChecksItem {
Table: h.mb.tabID,
CheckOrdinal: h.uniqueOrdinal,
KeyCols: keyCols,
OpName: h.mb.opName,
})
}

Expand Down

0 comments on commit 8fb2f86

Please sign in to comment.