Skip to content

Commit 41dd02a

Browse files
authored
Merge pull request #46 from ClickHouse/backport_artpaul_pr_110
Cherry-pick artpaul/clickhouse-cpp#110
2 parents 001a14e + a3ad717 commit 41dd02a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clickhouse/columns/array.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ void ColumnArray::Append(ColumnRef column) {
5555
}
5656

5757
bool ColumnArray::Load(CodedInputStream* input, size_t rows) {
58+
if (!rows) {
59+
return true;
60+
}
5861
if (!offsets_->Load(input, rows)) {
5962
return false;
6063
}

0 commit comments

Comments
 (0)