Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlanCacheMatchOpts ¶
type PlanCacheMatchOpts struct { // paramTypes stores all parameters' FieldType, some different parameters may share same plan ParamTypes []*types.FieldType // limitOffsetAndCount stores all the offset and key parameters extract from limit statement // only used for cache and pick plan with parameters in limit LimitOffsetAndCount []uint64 // HasSubQuery indicate whether this query has sub query HasSubQuery bool // StatsVersionHash is the hash value of the statistics version StatsVersionHash uint64 // Below are some variables that can affect the plan ForeignKeyChecks bool }
PlanCacheMatchOpts store some property used to fetch plan from plan cache The structure set here is to avoid import cycle
Click to show internal directories.
Click to hide internal directories.