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

Method Append

pkg/sessionctx/variable/session.go:2063–2065  ·  view source on GitHub ↗

Append appends a parameter value to the PlanCacheParams.

(vs ...types.Datum)

Source from the content-addressed store, hash-verified

2061
2062// Append appends a parameter value to the PlanCacheParams.
2063func (p *PlanCacheParamList) Append(vs ...types.Datum) {
2064 p.paramValues = append(p.paramValues, vs...)
2065}
2066
2067// SetForNonPrepCache sets the flag forNonPrepCache.
2068func (p *PlanCacheParamList) SetForNonPrepCache(flag bool) {

Callers 4

TestBuildExpressionFunction · 0.95
TestParamListFunction · 0.95
MakeEvalContextStaticFunction · 0.95

Calls

no outgoing calls

Tested by 3

TestBuildExpressionFunction · 0.76
TestParamListFunction · 0.76