mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
fix reading HashTable and HashSet
This commit is contained in:
parent
faeab5f649
commit
a99a340b0b
@ -43,7 +43,7 @@ public:
|
||||
|
||||
for (size_t i = 0; i < rhs.grower.bufSize(); ++i)
|
||||
if (!rhs.buf[i].isZero(*this))
|
||||
this->insert(Cell::getKey(rhs.buf[i].getValue()));
|
||||
this->insert(rhs.buf[i].getValue());
|
||||
}
|
||||
|
||||
|
||||
@ -60,7 +60,7 @@ public:
|
||||
{
|
||||
Cell x;
|
||||
x.read(rb);
|
||||
this->insert(Cell::getKey(x.getValue()));
|
||||
this->insert(x.getValue());
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -981,7 +981,7 @@ public:
|
||||
{
|
||||
Cell x;
|
||||
x.read(rb);
|
||||
insert(Cell::getKey(x.getValue()));
|
||||
insert(x.getValue());
|
||||
}
|
||||
}
|
||||
|
||||
@ -1006,7 +1006,7 @@ public:
|
||||
Cell x;
|
||||
DB::assertChar(',', rb);
|
||||
x.readText(rb);
|
||||
insert(Cell::getKey(x.getValue()));
|
||||
insert(x.getValue());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user