add config _globle_enable_rich_vector_format
This commit is contained in:
@ -2323,6 +2323,7 @@ OB_INLINE int ObPlanCache::construct_plan_cache_key(ObSQLSessionInfo &session,
|
||||
// added plan's key will be `true + other_info`, same as key constructed for getting plan.
|
||||
// if `use_rich_format()` is used as part of key, added plan's key will be `false + other_info`.
|
||||
pc_key.use_rich_vector_format_ = session.initial_use_rich_format();
|
||||
pc_key.config_use_rich_format_ = session.config_use_rich_format();
|
||||
pc_key.is_weak_read_ = is_weak;
|
||||
return ret;
|
||||
}
|
||||
|
||||
@ -166,7 +166,8 @@ struct ObPlanCacheKey : public ObILibCacheKey
|
||||
{
|
||||
uint16_t is_weak_read_ : 1;
|
||||
uint16_t use_rich_vector_format_ : 1;
|
||||
uint16_t reserved_ : 14; // reserved
|
||||
uint16_t config_use_rich_format_ : 1;
|
||||
uint16_t reserved_ : 13; // reserved
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user