fix alloc memory failed didn`t report -4013 and WhiteScan

This commit is contained in:
obdev
2022-11-08 03:37:52 +00:00
committed by wangzelin.wzl
parent 0d96a5fdf3
commit d7c4c48a70
3 changed files with 10 additions and 4 deletions

View File

@ -399,7 +399,7 @@ int ObResolverUtils::get_candidate_routines(ObSchemaChecker &schema_checker,
}
#define TRY_SYNONYM(synonym_name) \
if (OB_FAIL(ret) || 0 == routines.count()) { \
if ((OB_FAIL(ret) && OB_ALLOCATE_MEMORY_FAILED != ret) || 0 == routines.count()) { \
ret = OB_SUCCESS; \
bool exist = false; \
ObSynonymChecker synonym_checker; \