Fix the problem of correctness caused by partition sort error code coverage
This commit is contained in:
parent
b1f1be5032
commit
69541b8b16
@ -1927,7 +1927,7 @@ int ObSortOpImpl::sort_inmem_data()
|
||||
heap_nodes_.reuse();
|
||||
do_partition_topn_sort();
|
||||
} else if (part_cnt_ > 0) {
|
||||
do_partition_sort(*rows_, begin, rows_->count());
|
||||
OZ(do_partition_sort(*rows_, begin, rows_->count()));
|
||||
} else if (enable_encode_sortkey_) {
|
||||
bool can_encode = true;
|
||||
ObAdaptiveQS aqs(*rows_, mem_context_->get_malloc_allocator());
|
||||
|
@ -1417,7 +1417,7 @@ int ObSortVecOpImpl<Compare, Store_Row, has_addon>::sort_inmem_data()
|
||||
}
|
||||
}
|
||||
if (part_cnt_ > 0) {
|
||||
do_partition_sort(*sk_row_meta_, *rows_, begin, rows_->count());
|
||||
OZ(do_partition_sort(*sk_row_meta_, *rows_, begin, rows_->count()));
|
||||
} else if (enable_encode_sortkey_) {
|
||||
bool can_encode = true;
|
||||
ObAdaptiveQS<Store_Row> aqs(*rows_, *sk_row_meta_, mem_context_->get_malloc_allocator());
|
||||
|
Loading…
x
Reference in New Issue
Block a user