[to #52107651]mysql proc only return ok in c driver

This commit is contained in:
LiuYoung00
2023-09-20 16:46:11 +00:00
committed by ob-robot
parent bcd7e5b279
commit 98d6d32ccc
7 changed files with 11 additions and 72 deletions

View File

@ -199,7 +199,8 @@ ObSQLSessionInfo::ObSQLSessionInfo(const uint64_t tenant_id) :
vport_(0),
in_bytes_(0),
out_bytes_(0),
current_dblink_sequence_id_(0)
current_dblink_sequence_id_(0),
client_non_standard_(false)
{
MEMSET(tenant_buff_, 0, sizeof(share::ObTenantSpaceFetcher));
MEMSET(vip_buf_, 0, sizeof(vip_buf_));
@ -369,6 +370,7 @@ void ObSQLSessionInfo::reset(bool skip_sys_var)
dblink_context_.reset(); // need reset before ObBasicSessionInfo::reset(skip_sys_var);
ObBasicSessionInfo::reset(skip_sys_var);
txn_free_route_ctx_.reset();
client_non_standard_ = false;
}
gtt_session_scope_unique_id_ = 0;
gtt_trans_scope_unique_id_ = 0;

View File

@ -1125,6 +1125,8 @@ public:
ObDBlinkSequenceIdMap &get_dblink_sequence_id_map() { return dblink_sequence_id_map_; }
void set_current_dblink_sequence_id(int64_t id) { current_dblink_sequence_id_ = id; }
int64_t get_current_dblink_sequence_id() const { return current_dblink_sequence_id_; }
void set_client_non_standard(bool client_non_standard) { client_non_standard_ = client_non_standard; }
bool client_non_standard() { return client_non_standard_; }
int get_mem_ctx_alloc(common::ObIAllocator *&alloc);
int update_sess_sync_info(const SessionSyncInfoType sess_sync_info_type,
const char *buf, const int64_t length, int64_t &pos);
@ -1507,6 +1509,7 @@ private:
int64_t out_bytes_;
int64_t current_dblink_sequence_id_;
common::ObSEArray<ObSequenceSchema*, 2> dblink_sequence_schemas_;
bool client_non_standard_;
};
inline bool ObSQLSessionInfo::is_terminate(int &ret) const