提交 d10ad3a0 编写于 作者: Y yy0 提交者: LINGuanRen

fix: remove incorrect boolean flag in json type

上级 f01d3bd4
......@@ -69,7 +69,7 @@ int ObExprToType::calc_result1(ObObj& result, const ObObj& obj1, ObExprCtx& expr
bool is_bool = false;
if (OB_FAIL(get_param_is_boolean(expr_ctx, obj1, is_bool))) {
LOG_WARN("get is_boolean type failed, bool may be cast as json int", K(ret), K(obj1));
} else {
} else if (is_bool) {
cast_ctx.cast_mode_ |= CM_TO_BOOLEAN;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册