fix reading HashTable and HashSet

This commit is contained in:
Maxim Serebryakov 2020-04-20 23:19:03 +03:00
parent faeab5f649
commit a99a340b0b
2 changed files with 4 additions and 4 deletions

View File

@ -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());
}
}
};

View File

@ -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());
}
}