Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RangerContext ¶
type RangerContext struct { TypeCtx types.Context ErrCtx errctx.Context ExprCtx exprctx.BuildContext *contextutil.RangeFallbackHandler *contextutil.PlanCacheTracker OptimizerFixControl map[uint64]string UseCache bool InPreparedPlanBuilding bool RegardNULLAsPoint bool OptPrefixIndexSingleScan bool }
RangerContext is the context used to build range.
func (*RangerContext) Detach ¶
func (r *RangerContext) Detach(staticExprCtx exprctx.BuildContext) *RangerContext
Detach detaches this context from the session context.
NOTE: Though this session context can be used parallelly with this context after calling it, the `StatementContext` cannot. The session context should create a new `StatementContext` before executing another statement.
Click to show internal directories.
Click to hide internal directories.