MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / unpreferred

Function unpreferred

pkg/sql/sem/tree/eval.go:1597–1600  ·  view source on GitHub ↗
(cmp *CmpOp)

Source from the content-addressed store, hash-verified

1595 return makeCmpOpOverload(treecmp.IsNotDistinctFrom, a, b, true, v)
1596}
1597func unpreferred(cmp *CmpOp) *CmpOp {
1598 cmp.OverloadPreference = OverloadPreferenceUnpreferred
1599 return cmp
1600}
1601
1602// CmpOps contains the comparison operations indexed by operation type.
1603var CmpOps = cmpOpFixups(map[treecmp.ComparisonOperatorSymbol]*CmpOpOverloads{

Callers 1

eval.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…