use hint control sql memory managment

This commit is contained in:
18523270951@163.com
2024-01-09 05:12:53 +00:00
committed by ob-robot
parent b3f443bed0
commit 60a50ead31
8 changed files with 40 additions and 8 deletions

View File

@ -770,8 +770,12 @@ bool ObOptParamHint::is_param_val_valid(const OptParamType param_type, const ObO
break;
}
case COMPACT_SORT_LEVEL: {
is_valid = val.is_int() && (val.get_int() >= 0 && val.get_int() <=5);
break;
is_valid = val.is_int() && (val.get_int() >= 0 && val.get_int() <=5);
break;
}
case WORKAREA_SIZE_POLICY: {
is_valid = val.is_varchar() && (0 == val.get_varchar().case_compare("MANULE"));
break;
}
default:
LOG_TRACE("invalid opt param val", K(param_type), K(val));