Fix sharable exprs rel_ids not correct bug

This commit is contained in:
my0
2022-03-16 14:57:48 +08:00
committed by LINxiansheng
parent 3233a7d49a
commit a4c7d7dc9f
14 changed files with 163 additions and 103 deletions

View File

@ -25,9 +25,9 @@ public:
int pull_expr_relation_id_and_levels(ObRawExpr* expr, int32_t cur_stmt_level);
private:
int init_expr_info(ObRawExpr& expr);
int visit_expr(ObRawExpr& expr, int32_t stmt_level);
int visit_stmt(ObDMLStmt* stmt);
int init_expr_info(ObRawExpr &expr, int64_t &expr_level);
int visit_expr(ObRawExpr &expr, int64_t &expr_level);
int visit_stmt(ObDMLStmt *stmt);
private:
// auto_free = false, only used in function stack