Fix a dblink bug and disable pdml hint for dblink

This commit is contained in:
xianyu-w
2023-03-09 12:47:20 +00:00
committed by ob-robot
parent 3b47aa7ccd
commit ae6eea62f1
2 changed files with 5 additions and 3 deletions

View File

@ -448,7 +448,9 @@ int ObGlobalHint::print_global_hint(PlanText &plan_text, const bool ignore_paral
}
if (OB_SUCC(ret) && ObPDMLOption::NOT_SPECIFIED != pdml_option_) { //PDML
if (ObPDMLOption::ENABLE == pdml_option_) {
PRINT_GLOBAL_HINT_STR("ENABLE_PARALLEL_DML");
if (!ignore_parallel) {
PRINT_GLOBAL_HINT_STR("ENABLE_PARALLEL_DML");
}
} else if (ObPDMLOption::DISABLE == pdml_option_) {
PRINT_GLOBAL_HINT_STR("DISABLE_PARALLEL_DML");
} else {