Fix insert use incorrect plan bug

This commit is contained in:
2149
2023-08-04 03:18:27 +00:00
committed by ob-robot
parent 1bd325cc15
commit 82e3f02450
8 changed files with 62 additions and 3 deletions

View File

@ -187,6 +187,7 @@ ObSqlCtx::ObSqlCtx()
all_pre_calc_constraints_(nullptr),
all_expr_constraints_(nullptr),
all_priv_constraints_(nullptr),
need_match_all_params_(false),
is_ddl_from_primary_(false),
cur_stmt_(NULL),
cur_plan_(nullptr),
@ -236,6 +237,7 @@ void ObSqlCtx::reset()
all_pre_calc_constraints_ = nullptr;
all_expr_constraints_ = nullptr;
all_priv_constraints_ = nullptr;
need_match_all_params_ = false;
is_ddl_from_primary_ = false;
can_reroute_sql_ = false;
is_sensitive_ = false;