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

@ -4514,7 +4514,7 @@ int resolve_restore_until(const ParseNode &time_node,
time_val))) {
ret = OB_ERR_WRONG_VALUE;
LOG_USER_ERROR(OB_ERR_WRONG_VALUE, "TIMESTAMP", to_cstring(time_str));
} else if (recovery_until_scn.convert_for_sql(time_val)) {
} else if (OB_FAIL(recovery_until_scn.convert_for_sql(time_val))) {
LOG_WARN("fail to set scn", K(ret));
} else {
with_restore_scn = true;