fix optimizer stats and parser bug
This commit is contained in:
@ -260,7 +260,8 @@ int ObSqlParameterization::is_fast_parse_const(TransformTreeCtx &ctx)
|
||||
|| (T_IEEE754_INFINITE == ctx.tree_->type_ && true == ctx.tree_->is_hidden_const_)
|
||||
|| (T_IEEE754_NAN == ctx.tree_->type_ && true == ctx.tree_->is_hidden_const_)
|
||||
|| (T_SFU_INT == ctx.tree_->type_ && true == ctx.tree_->is_hidden_const_)
|
||||
|| (T_FLOAT == ctx.tree_->type_ && true == ctx.tree_->is_hidden_const_)) {
|
||||
|| (T_FLOAT == ctx.tree_->type_ && true == ctx.tree_->is_hidden_const_)
|
||||
|| true == ctx.tree_->is_forbid_parameter_) {
|
||||
ctx.is_fast_parse_const_ = false;
|
||||
} else {
|
||||
ctx.is_fast_parse_const_ = (IS_DATATYPE_OP(ctx.tree_->type_)
|
||||
|
||||
Reference in New Issue
Block a user