package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
EncodeJSONCommon contains some common logic for the debug trace, like disabling EscapeHTML and recording error.
EnterContextCommon records the function name of the caller, then creates and enter a new context for this debug trace structure.
GetOrInitDebugTraceRoot returns the debug trace root.
LeaveContextCommon makes the debug trace goes to its parent context.
RecordAnyValuesWithNames is a general debug trace logic for recording some values of any type with a name.
# Structs
OptimizerDebugTraceRoot is for recording the optimizer debug trace.