mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
Fix another one test.
This commit is contained in:
parent
913e7a91ae
commit
df0d580a8c
@ -11,7 +11,7 @@ QueryPlanResourceHolder & QueryPlanResourceHolder::operator=(QueryPlanResourceHo
|
||||
storage_holders.insert(storage_holders.end(), rhs.storage_holders.begin(), rhs.storage_holders.end());
|
||||
interpreter_context.insert(interpreter_context.end(),
|
||||
rhs.interpreter_context.begin(), rhs.interpreter_context.end());
|
||||
query_id_holder = std::move(rhs.query_id_holder);
|
||||
query_id_holders.insert(query_id_holders.end(), rhs.query_id_holders.begin(), rhs.query_id_holders.end());
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ struct QueryPlanResourceHolder
|
||||
std::vector<std::shared_ptr<const Context>> interpreter_context;
|
||||
std::vector<StoragePtr> storage_holders;
|
||||
std::vector<TableLockHolder> table_locks;
|
||||
std::shared_ptr<QueryIdHolder> query_id_holder;
|
||||
std::vector<std::shared_ptr<QueryIdHolder>> query_id_holders;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -147,7 +147,7 @@ public:
|
||||
}
|
||||
|
||||
void addResources(QueryPlanResourceHolder resources_) { resources = std::move(resources_); }
|
||||
void setQueryIdHolder(std::shared_ptr<QueryIdHolder> query_id_holder) { resources.query_id_holder = std::move(query_id_holder); }
|
||||
void setQueryIdHolder(std::shared_ptr<QueryIdHolder> query_id_holder) { resources.query_id_holders.emplace_back(std::move(query_id_holder)); }
|
||||
|
||||
/// Convert query pipeline to pipe.
|
||||
static Pipe getPipe(QueryPipelineBuilder pipeline, QueryPlanResourceHolder & resources);
|
||||
|
Loading…
Reference in New Issue
Block a user