add config _globle_enable_rich_vector_format

This commit is contained in:
obdev
2024-03-12 07:14:56 +00:00
committed by ob-robot
parent 8d56362278
commit dec494cf3f
7 changed files with 42 additions and 17 deletions

View File

@ -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;
}

View File

@ -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
};
};
};