fix print remote sql info coredump

This commit is contained in:
leslieyuchen
2022-03-15 12:02:28 +08:00
committed by LINxiansheng
parent 58698cf43a
commit a4d3ae7db7
5 changed files with 33 additions and 10 deletions

View File

@ -684,6 +684,7 @@ OB_DEF_DESERIALIZE(ObRemoteTask)
*ps_params,
tenant_id);
if (OB_SUCC(ret)) {
remote_sql_info_->ps_param_cnt_ = static_cast<int32_t>(ps_params->count());
if (OB_FAIL(exec_ctx_->create_my_session(tenant_id))) {
LOG_WARN("create my session failed", K(ret), K(tenant_id));
} else {