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

Method SetSkipPlanCache

pkg/expression/exprctx/context.go:117–117  ·  view source on GitHub ↗

SetSkipPlanCache sets to skip the plan cache and records the reason.

(reason string)

Source from the content-addressed store, hash-verified

115 IsUseCache() bool
116 // SetSkipPlanCache sets to skip the plan cache and records the reason.
117 SetSkipPlanCache(reason string)
118 // AllocPlanColumnID allocates column id for plan.
119 AllocPlanColumnID() int64
120 // IsInNullRejectCheck returns the flag to indicate whether the expression is in null reject check.

Callers 15

OptimizeFunction · 0.65
rewriteDataSourceMethod · 0.65
makeUnionAllChildrenMethod · 0.65
GetPlanFromPlanCacheFunction · 0.65
generateNewPlanFunction · 0.65
inToExpressionMethod · 0.65
PreprocessFunction · 0.65
jsonArrayExpr2ExprsFunction · 0.65
mergeInAndNotEQListsFunction · 0.65
pruneEmptyORBranchesFunction · 0.65

Implementers 2

ExprContextpkg/expression/sessionexpr/sessionctx.
ExprContextpkg/expression/exprstatic/exprctx.go

Calls

no outgoing calls

Tested by 2