[FEAT MERGE] support auto dop
This commit is contained in:
@ -116,9 +116,11 @@ int ObDeleteLogPlan::generate_normal_raw_plan()
|
||||
|
||||
// 4. allocate delete operator
|
||||
if (OB_SUCC(ret)) {
|
||||
if (OB_FAIL(prepare_dml_infos())) {
|
||||
if (OB_FAIL(compute_dml_parallel())) { // compute parallel before call prepare_dml_infos
|
||||
LOG_WARN("failed to compute dml parallel", K(ret));
|
||||
} else if (OB_FAIL(prepare_dml_infos())) {
|
||||
LOG_WARN("failed to prepare dml infos", K(ret));
|
||||
} else if (get_optimizer_context().use_pdml()) {
|
||||
} else if (use_pdml()) {
|
||||
if (OB_FAIL(candi_allocate_pdml_delete())) {
|
||||
LOG_WARN("failed to allocate pdml as top", K(ret));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user