Fix ps prepare error 4016

This commit is contained in:
obdev
2023-06-22 03:18:28 +00:00
committed by ob-robot
parent 18882148c8
commit 4ff18491b9
9 changed files with 31 additions and 26 deletions

View File

@ -1103,8 +1103,8 @@ public:
cached_tenant_config_info_.refresh();
return cached_tenant_config_info_.get_enable_sql_extension();
}
bool is_ps_prepare_stage() const { return is_ps_prepare_stage_; }
void set_is_ps_prepare_stage(bool v) { is_ps_prepare_stage_ = v; }
bool is_varparams_sql_prepare() const { return is_varparams_sql_prepare_; }
void set_is_varparams_sql_prepare(bool v) { is_varparams_sql_prepare_ = v; }
int get_tenant_audit_trail_type(ObAuditTrailType &at_type)
{
cached_tenant_config_info_.refresh();
@ -1298,7 +1298,7 @@ private:
void *piece_cache_;
bool is_load_data_exec_session_;
ObSqlString pl_exact_err_msg_;
bool is_ps_prepare_stage_;
bool is_varparams_sql_prepare_;
// Record whether this session has got connection resource, which means it increased connections count.
// It's used for on_user_disconnect.
// No matter whether apply for resource successfully, a session will call on_user_disconnect when disconnect.