Fix some query rewrite bug

This commit is contained in:
obdev
2023-01-04 08:08:15 +00:00
committed by ob-robot
parent 0bd1b2cf37
commit 4453ef5eee
7 changed files with 385 additions and 3 deletions

View File

@ -233,6 +233,7 @@ ObSqlCtx::ObSqlCtx()
is_protocol_weak_read_(false),
flashback_query_expr_(nullptr),
is_execute_call_stmt_(false),
is_text_ps_mode_(false),
reroute_info_(nullptr)
{
sql_id_[0] = '\0';
@ -279,6 +280,7 @@ void ObSqlCtx::reset()
stmt_type_ = stmt::T_NONE;
cur_plan_ = nullptr;
is_execute_call_stmt_ = false;
is_text_ps_mode_ = false;
}
//release dynamic allocated memory
@ -292,6 +294,7 @@ void ObSqlCtx::clear()
multi_stmt_rowkey_pos_.reset();
spm_ctx_.bl_key_.reset();
cur_stmt_ = nullptr;
is_text_ps_mode_ = false;
}
OB_SERIALIZE_MEMBER(ObSqlCtx, stmt_type_);