fix failed case

This commit is contained in:
Larry955
2023-06-05 11:42:12 +00:00
committed by ob-robot
parent 6351e40ae4
commit 73ec60d0d0
9 changed files with 55 additions and 11 deletions

View File

@ -734,6 +734,11 @@ bool ObOptParamHint::is_param_val_valid(const OptParamType param_type, const ObO
|| 0 == val.get_varchar().case_compare("false"));
break;
}
case ENABLE_IN_RANGE_OPTIMIZATION: {
is_valid = val.is_varchar() && (0 == val.get_varchar().case_compare("true")
|| 0 == val.get_varchar().case_compare("false"));
break;
}
default:
LOG_TRACE("invalid opt param val", K(param_type), K(val));
break;