Skip to content

Commit 8fb2f86

Browse files
craig[bot]mgartner
andcommitted
108024: opt: remove unused OpName field of UniqueChecksItemPrivate r=mgartner a=mgartner Epic: None Release note: None Co-authored-by: Marcus Gartner <[email protected]>
2 parents 9cabe8c + 9621134 commit 8fb2f86

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

pkg/sql/opt/ops/mutation.opt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,4 @@ define UniqueChecksItemPrivate {
292292
# KeyCols are the columns in the Check query that form the value tuple shown
293293
# in the error message.
294294
KeyCols ColList
295-
296-
# OpName is the name that should be used for this check in error messages.
297-
OpName string
298295
}

pkg/sql/opt/optbuilder/mutation_builder_unique.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ func (h *uniqueCheckHelper) buildInsertionCheck() memo.UniqueChecksItem {
392392
Table: h.mb.tabID,
393393
CheckOrdinal: h.uniqueOrdinal,
394394
KeyCols: keyCols,
395-
OpName: h.mb.opName,
396395
})
397396
}
398397

0 commit comments

Comments
 (0)