mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
dbms: Set: fixed error with NOT IN (empty set) [#CONV-2944].
This commit is contained in:
parent
0ddaa9048e
commit
aaffff4dd1
@ -267,7 +267,11 @@ void Set::execute(Block & block, const ColumnNumbers & arguments, size_t result,
|
||||
|
||||
/// Если множество пусто
|
||||
if (data_types.empty())
|
||||
{
|
||||
if (negative)
|
||||
memset(&vec_res[0], 1, vec_res.size());
|
||||
return;
|
||||
}
|
||||
|
||||
size_t keys_size = arguments.size();
|
||||
Row key(keys_size);
|
||||
|
Loading…
Reference in New Issue
Block a user