fix osg bug
This commit is contained in:
@ -120,7 +120,6 @@ int ObOptimizerStatsGatheringOp::inner_rescan()
|
|||||||
}
|
}
|
||||||
table_stats_map_.reuse();
|
table_stats_map_.reuse();
|
||||||
osg_col_stats_map_.reuse();
|
osg_col_stats_map_.reuse();
|
||||||
part_map_.reuse();
|
|
||||||
arena_.reset();
|
arena_.reset();
|
||||||
if (OB_FAIL(ObOperator::inner_rescan())) {
|
if (OB_FAIL(ObOperator::inner_rescan())) {
|
||||||
LOG_WARN("failed to rescan");
|
LOG_WARN("failed to rescan");
|
||||||
@ -221,7 +220,7 @@ int ObOptimizerStatsGatheringOp::inner_get_next_batch(const int64_t max_row_cnt)
|
|||||||
} else {
|
} else {
|
||||||
batch_info_guard.set_batch_idx(i);
|
batch_info_guard.set_batch_idx(i);
|
||||||
if (OB_FAIL(calc_stats())) {
|
if (OB_FAIL(calc_stats())) {
|
||||||
LOG_WARN("fail to calc stats", K(ret));
|
LOG_WARN("fail to calc stats", K(ret), K(i), K(child_brs->size_));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user