Cherry commit from 3.1 to 3.1 opensource

This commit is contained in:
stdliu
2021-07-26 11:51:13 +08:00
committed by wangzelin.wzl
parent f2b3572e34
commit a24b0eb4e7
7 changed files with 39 additions and 15 deletions

View File

@ -68,7 +68,7 @@ int ObExprLastInsertID::calc_resultN(
} else {
EXPR_DEFINE_CAST_CTX(expr_ctx, CM_NO_RANGE_CHECK);
expr_ctx.cast_mode_ &= ~(CM_WARN_ON_FAIL);
const ObObj& obj_tmp = objs_array[0];
const ObObj &obj_tmp = objs_array[0];
EXPR_GET_UINT64_V2(obj_tmp, param_value);
result.set_uint64(param_value);
}