Skip to content

Commit e76cb29

Browse files
committed
remove items_.reserve for batch write
1 parent 574da81 commit e76cb29

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clickhouse/columns/string.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ void ColumnString::Append(ColumnRef column) {
247247
// TODO: fill up existing block with some items and then add a new one for the rest of items
248248
if (blocks_.size() == 0 || blocks_.back().GetAvailable() < total_size)
249249
blocks_.emplace_back(std::max(DEFAULT_BLOCK_SIZE, total_size));
250-
items_.reserve(items_.size() + col->Size());
251250

252251
for (size_t i = 0; i < column->Size(); ++i) {
253252
this->AppendUnsafe((*col)[i]);

0 commit comments

Comments
 (0)