MCPcopy
hub / github.com/pingcap/tidb / ExprContext

Struct ExprContext

pkg/expression/exprstatic/exprctx.go:146–148  ·  view source on GitHub ↗

ExprContext implements the `exprctx.ExprContext` interface. The "static" means comparing with `ExprContext`, its internal state does not relay on the session or other complex contexts that keeps immutable for most fields.

Source from the content-addressed store, hash-verified

144// The "static" means comparing with `ExprContext`, its internal state does not relay on the session or other
145// complex contexts that keeps immutable for most fields.
146type ExprContext struct {
147 exprCtxState
148}
149
150// NewExprContext creates a new ExprContext
151func NewExprContext(opts ...ExprCtxOption) *ExprContext {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected