mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-04 23:50:50 +00:00
format
This commit is contained in:
parent
ff1a314609
commit
ae544940ce
@ -157,7 +157,8 @@ Pipe StorageMemory::read(
|
||||
metadata_snapshot,
|
||||
/// This hack is needed for global subqueries.
|
||||
/// It allows to set up this Source for read AFTER Storage::read() has been called and just before actual reading
|
||||
[this](BlocksList::const_iterator & current_it, size_t & num_blocks) {
|
||||
[this](BlocksList::const_iterator & current_it, size_t & num_blocks)
|
||||
{
|
||||
std::lock_guard guard(mutex);
|
||||
current_it = data.get()->begin();
|
||||
num_blocks = data.get()->size();
|
||||
|
Loading…
Reference in New Issue
Block a user