提交 150aaff4 编写于 作者: L LiuYoung00 提交者: wangzelin.wzl

[CP] limit add type cast

上级 20623f99
......@@ -3440,7 +3440,7 @@ int ObDMLResolver::resolve_limit_clause(const ParseNode* node)
}
}
CK(session_info_)
if (OB_SUCC(ret) && session_info_->use_static_typing_engine()) {
if (OB_SUCC(ret)) {
// make sure limit expr is int value in static typing engine.
ObRawExpr** exprs[] = {&limit_count, &limit_offset};
for (int64_t i = 0; i < ARRAYSIZEOF(exprs) && OB_SUCC(ret); i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册