[scn] fix failure of mittest after refresh feature scn

This commit is contained in:
obdev
2022-11-28 01:46:42 +00:00
committed by ob-robot
parent 49a02f3304
commit 54b64a7263
1898 changed files with 255804 additions and 280809 deletions

View File

@ -113,7 +113,7 @@ int ObExprConvertOracle::calc_result_typeN(ObExprResType &type,
ObExprTypeCtx &type_ctx) const
{
int ret = OB_SUCCESS;
if (!(param_num >= 2 && param_num <= 3)) {
if (!(param_num >= 2 || param_num <= 3)) {
ret = OB_INVALID_ARGUMENT;
LOG_WARN("param num should be 2 or 3", K(ret));
}