mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +00:00
some modify
This commit is contained in:
parent
b36ead13b0
commit
46166c43bc
@ -419,7 +419,7 @@ private:
|
|||||||
auto & instruction = instructions[inserts[row_i]];
|
auto & instruction = instructions[inserts[row_i]];
|
||||||
size_t index = instruction.source_is_constant ? 0 : row_i;
|
size_t index = instruction.source_is_constant ? 0 : row_i;
|
||||||
res_data[row_i] = data_cols[inserts[row_i]]->getData()[index];
|
res_data[row_i] = data_cols[inserts[row_i]]->getData()[index];
|
||||||
null_map_data[row_i] = null_map_cols[inserts[row_i]]->getData()[index];
|
null_map_data[row_i] = null_map_cols[inserts[row_i]] ? null_map_cols[inserts[row_i]]->getData()[index] : 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user