MCPcopy Create free account
hub / github.com/ByConity/ByConity / getPlanCacheManager

Method getPlanCacheManager

src/Interpreters/Context.cpp:5919–5923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5917}
5918
5919PlanCacheManager* Context::getPlanCacheManager()
5920{
5921 auto lock = getLock(); // checked
5922 return shared->plan_cache_manager ? shared->plan_cache_manager.get() : nullptr;
5923}
5924
5925void Context::setPreparedStatementManager(std::unique_ptr<PreparedStatementManager> && manager)
5926{

Callers 3

initializeMethod · 0.80
getPlanFromCacheMethod · 0.80
addPlanToCacheMethod · 0.80

Calls 2

getLockFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected