fix rownum to limit bug

This commit is contained in:
obdev
2023-03-21 16:26:06 +00:00
committed by ob-robot
parent 99764bc507
commit 600227d1cb
5 changed files with 146 additions and 102 deletions

View File

@ -776,7 +776,10 @@ public:
ObSQLSessionInfo *session_info,
const ObItemType filter_type,
ObRawExpr *const_expr,
ObRawExpr *&offset_int_expr);
ObRawExpr *&offset_int_expr,
ObRawExpr *zero_expr,
bool &offset_is_not_neg,
ObTransformerCtx *ctx);
static int convert_rownum_filter_as_limit(ObRawExprFactory &expr_factory,
ObSQLSessionInfo *session_info,