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

@ -43,6 +43,7 @@ public:
if (OB_FAIL(copy(input_exprs.at(i), temp_expr))) {
SQL_RESV_LOG(WARN, "failed to copy expr", K(ret));
} else if (OB_ISNULL(temp_expr)) {
ret = common::OB_ERR_UNEXPECTED;
SQL_RESV_LOG(WARN, "null expr", K(ret));
} else {
T cast_expr = static_cast<T>(temp_expr);