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

Method SQLMode

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

SQLMode returns the sql mode

()

Source from the content-addressed store, hash-verified

67 CtxID() uint64
68 // SQLMode returns the sql mode
69 SQLMode() mysql.SQLMode
70 // TypeCtx returns the types.Context
71 TypeCtx() types.Context
72 // ErrCtx returns the errctx.Context

Callers 15

CastColumnValueFunction · 0.65
TestReorgExprContextFunction · 0.65
setColumnCommentFunction · 0.65
checkColumnDefaultValueFunction · 0.65
getFunctionMethod · 0.65
sqlModeFunction · 0.65
MakeEvalContextStaticFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 6

TestReorgExprContextFunction · 0.52
TestLitExprContextFunction · 0.52
TestMetaBuildContextFunction · 0.52