mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Fix logical error in ColumnTuple::tryInsert()
This commit is contained in:
parent
1b43c58489
commit
3de1fc674f
@ -164,7 +164,7 @@ bool ColumnTuple::tryInsert(const Field & x)
|
||||
if (!columns[i]->tryInsert(tuple[i]))
|
||||
{
|
||||
for (size_t j = 0; j != i; ++j)
|
||||
columns[i]->popBack(1);
|
||||
columns[j]->popBack(1);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
@ -0,0 +1 @@
|
||||
[{1:[],'':1},{'':1,1:'',1:1}]
|
@ -0,0 +1 @@
|
||||
select [map(1, [], '', 1), map('', 1, 1, '', toUInt128(1), 1)] settings allow_experimental_variant_type=1, use_variant_as_common_type=1
|
Loading…
Reference in New Issue
Block a user