mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Addition to prev. revision [#CLICKHOUSE-2]
This commit is contained in:
parent
afe3973325
commit
ff13752d01
@ -317,6 +317,9 @@ ColumnPtr Set::execute(const Block & block, bool negative) const
|
||||
ColumnUInt8::Container & vec_res = res->getData();
|
||||
vec_res.resize(block.safeGetByPosition(0).column->size());
|
||||
|
||||
if (vec_res.empty())
|
||||
return res;
|
||||
|
||||
std::shared_lock lock(rwlock);
|
||||
|
||||
/// If the set is empty.
|
||||
|
Loading…
Reference in New Issue
Block a user