[to #47796411] adjust error code -4013 when tenant out of memeory

This commit is contained in:
obdev 2023-03-02 18:59:26 +00:00 committed by ob-robot
parent 9447a59f54
commit 7550f4ffc6

View File

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