Do not print WDIAG log when syslog_level set to ERROR

This commit is contained in:
stdliu
2023-04-26 13:07:58 +00:00
committed by ob-robot
parent 4154d0df4b
commit 220e8fceac
2 changed files with 4 additions and 2 deletions

View File

@ -3666,7 +3666,7 @@ ObExprOperator *ObSysFunRawExpr::get_op()
}
}
if (OB_UNLIKELY(NULL == (op = ObOpRawExpr::get_op()))) {
LOG_ERROR_RET(OB_ERR_UNEXPECTED, "make function failed", K_(func_name));
LOG_WARN_RET(OB_ALLOCATE_MEMORY_FAILED, "make function failed", K_(func_name));
}
return op;
}