MCPcopy Index your code
hub / github.com/pingcap/tidb / GetDefaultWeekFormatMode

Method GetDefaultWeekFormatMode

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

GetDefaultWeekFormatMode returns the value of the 'default_week_format' system variable.

()

Source from the content-addressed store, hash-verified

84 GetTiDBRedactLog() string
85 // GetDefaultWeekFormatMode returns the value of the 'default_week_format' system variable.
86 GetDefaultWeekFormatMode() string
87 // GetDivPrecisionIncrement returns the specified value of DivPrecisionIncrement.
88 GetDivPrecisionIncrement() int
89 // GetUserVarsReader returns the `UserVarsReader` to read user vars.

Callers 8

vecEvalIntMethod · 0.65
evalIntMethod · 0.65
MakeEvalContextStaticFunction · 0.65
TestLitExprContextFunction · 0.65
TestSessionInternalStateFunction · 0.65

Implementers 2

EvalContextpkg/expression/sessionexpr/sessionctx.
EvalContextpkg/expression/exprstatic/evalctx.go

Calls

no outgoing calls

Tested by 5

TestLitExprContextFunction · 0.52
TestSessionInternalStateFunction · 0.52