Fix remote execution error 4016

This commit is contained in:
obdev
2022-12-06 07:40:12 +00:00
committed by ob-robot
parent 196359d85f
commit e01e420726
7 changed files with 22 additions and 5 deletions

View File

@ -331,6 +331,7 @@ OB_DEF_SERIALIZE(ObRemoteTask)
for (int64_t i = 0; OB_SUCC(ret) && i < param_meta_count; ++i) {
OB_UNIS_ENCODE(ps_params->at(i).get_param_flag());
}
OB_UNIS_ENCODE(remote_sql_info_->is_original_ps_mode_);
return ret;
}
@ -367,6 +368,7 @@ OB_DEF_SERIALIZE_SIZE(ObRemoteTask)
for (int64_t i = 0; i < param_meta_count; ++i) {
OB_UNIS_ADD_LEN(ps_params->at(i).get_param_flag());
}
OB_UNIS_ADD_LEN(remote_sql_info_->is_original_ps_mode_);
}
return len;
}
@ -429,6 +431,7 @@ OB_DEF_DESERIALIZE(ObRemoteTask)
}
}
}
OB_UNIS_DECODE(remote_sql_info_->is_original_ps_mode_);
}
return ret;
}