[CP] implement preserve order for pagination

This commit is contained in:
zzg19950727
2024-03-21 09:46:05 +00:00
committed by ob-robot
parent 1d0a5c685e
commit 7956384fd3
8 changed files with 306 additions and 4 deletions

View File

@ -818,6 +818,11 @@ bool ObOptParamHint::is_param_val_valid(const OptParamType param_type, const ObO
|| 0 == val.get_varchar().case_compare("false"));
break;
}
case PRESERVE_ORDER_FOR_PAGINATION: {
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;