MCPcopy Create free account
hub / github.com/pingcap/tidb / HashCode

Method HashCode

pkg/expression/scalar_function.go:561–567  ·  view source on GitHub ↗

HashCode implements Expression interface.

()

Source from the content-addressed store, hash-verified

559
560// HashCode implements Expression interface.
561func (sf *ScalarFunction) HashCode() []byte {
562 if len(sf.hashcode) > 0 {
563 return sf.hashcode
564 }
565 ReHashCode(sf)
566 return sf.hashcode
567}
568
569// CanonicalHashCode implements Expression interface.
570func (sf *ScalarFunction) CanonicalHashCode() []byte {

Callers

nothing calls this directly

Calls 1

ReHashCodeFunction · 0.85

Tested by

no test coverage detected