mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
Fix more tests.
This commit is contained in:
parent
b4273a1963
commit
518ba6cbf6
@ -265,9 +265,8 @@ std::vector<std::shared_ptr<FutureSetFromSubquery>> PreparedSets::detachSubqueri
|
|||||||
std::vector<std::shared_ptr<FutureSetFromSubquery>> res;
|
std::vector<std::shared_ptr<FutureSetFromSubquery>> res;
|
||||||
res.reserve(sets_from_subqueries.size());
|
res.reserve(sets_from_subqueries.size());
|
||||||
for (auto & [_, set] : sets_from_subqueries)
|
for (auto & [_, set] : sets_from_subqueries)
|
||||||
res.push_back(std::move(set));
|
res.push_back(set);
|
||||||
|
|
||||||
sets_from_subqueries.clear();
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user