提交 95c16e09 编写于 作者: S st0 提交者: LINGuanRen

fix infix expression exprs count limit bug

上级 104dab5c
......@@ -160,8 +160,10 @@ int ObInfixExpression::set_item_count(const int64_t count)
if (count < 0 || count >= std::numeric_limits<uint16_t>::max()) {
ret = OB_INVALID_ARGUMENT;
LOG_WARN("invalid item count", K(ret), K(count));
} else if (OB_FAIL(exprs_.init(count, alloc_))) {
LOG_WARN("exprs init failed", K(ret));
}
return exprs_.init(count, alloc_);
return ret;
}
int ObInfixExpression::assign(const ObInfixExpression& other)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册