diff --git a/src/sql/resolver/dml/ob_dml_resolver.cpp b/src/sql/resolver/dml/ob_dml_resolver.cpp index 5b4530a1482e3707493dcd30230848db87c96ec8..c02a54d45769777ddc39213b5e9e8a25e6f4e256 100644 --- a/src/sql/resolver/dml/ob_dml_resolver.cpp +++ b/src/sql/resolver/dml/ob_dml_resolver.cpp @@ -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++) {