We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 169c6c8 commit ffff164Copy full SHA for ffff164
src/storage/ob_partition_range_spliter.cpp
@@ -687,7 +687,7 @@ int ObMultiRangeInfoEstimateContext::on_node_estimate(const ObMicroIndexInfo &in
687
total_row_count_ += index_row.get_row_count() >> estimate_factor;
688
total_macro_block_count_ += (index_row.get_macro_id() != last_macro_block_id_
689
|| index_row.get_block_offset() != last_index_row_in_block_offset_)
690
- ? max(1ll, index_row.get_macro_block_count() >> estimate_factor)
+ ? max(static_cast<int64_t>(1), static_cast<int64_t>(index_row.get_macro_block_count() >> estimate_factor))
691
: 0;
692
last_macro_block_id_ = index_row.get_macro_id();
693
last_index_row_in_block_offset_ = index_row.get_block_offset();
0 commit comments