| 7095 | } |
| 7096 | |
| 7097 | std::pair<Context::SampleBlockCache *, std::unique_lock<std::mutex>> Context::getSampleBlockCache() const |
| 7098 | { |
| 7099 | chassert(hasQueryContext()); |
| 7100 | return std::make_pair(&getQueryContext()->sample_block_cache, std::unique_lock(getQueryContext()->sample_block_cache_mutex)); |
| 7101 | } |
| 7102 | |
| 7103 | QueryMetadataCachePtr Context::getQueryMetadataCache() const |
| 7104 | { |