Add error codes for sql module, !! Please Read Task Description Carefully!!

This commit is contained in:
obdev
2023-08-01 17:18:33 +00:00
committed by ob-robot
parent a706aa36a0
commit a56c5b6dec
63 changed files with 106 additions and 67 deletions

View File

@ -188,6 +188,7 @@ int ObExprJsonExists::get_var_data(const ObExpr &expr, ObEvalCtx &ctx, common::O
if (OB_UNLIKELY(OB_FAIL(json_arg->eval(ctx, json_datum)))) {
LOG_WARN("eval json arg failed", K(ret));
} else if (OB_ISNULL(json_datum)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("eval json arg failed", K(ret));
} else if (val_type == ObNullType) {
ret = OB_ERR_INVALID_VARIABLE_IN_JSON_PATH;