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

Method GetStaticEvalCtx

pkg/expression/exprstatic/exprctx.go:211–213  ·  view source on GitHub ↗

GetStaticEvalCtx returns the inner `EvalContext`.

()

Source from the content-addressed store, hash-verified

209
210// GetStaticEvalCtx returns the inner `EvalContext`.
211func (ctx *ExprContext) GetStaticEvalCtx() *EvalContext {
212 return ctx.evalCtx
213}
214
215// GetCharsetInfo implements the `ExprContext.GetCharsetInfo`.
216func (ctx *ExprContext) GetCharsetInfo() (string, string) {

Callers 6

TestBuildExpressionFunction · 0.95
newLitExprContextFunction · 0.95
newBackfillCtxFunction · 0.80
TestReorgExprContextFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestBuildExpressionFunction · 0.76
TestReorgExprContextFunction · 0.64