[to #52549037] fix a typo and refresh mysqltest
This commit is contained in:
parent
e621b30dd9
commit
5dae35e24b
@ -3233,16 +3233,19 @@ do { \
|
||||
OX (get_params().at(i) = tmp);
|
||||
} else {
|
||||
// same type, we already check this on resolve stage, here directly assign value to symbol.
|
||||
get_params().at(i) = params->at(i);
|
||||
if (get_params().at(i).is_ref_cursor_type()) {
|
||||
get_params().at(i) = params->at(i);
|
||||
get_params().at(i).set_is_ref_cursor_type(true);
|
||||
} else if (pl_type.is_collection_type() && OB_INVALID_ID == params->at(i).get_udt_id()) {
|
||||
ObPLComposite *composite = NULL;
|
||||
get_params().at(i) = params->at(i);
|
||||
get_params().at(i).set_udt_id(pl_type.get_user_type_id());
|
||||
composite = reinterpret_cast<ObPLComposite *>(params->at(i).get_ext());
|
||||
if (OB_NOT_NULL(composite) && composite->is_collection() && OB_INVALID_ID == composite->get_id()) {
|
||||
composite->set_id(pl_type.get_user_type_id());
|
||||
}
|
||||
} else {
|
||||
get_params().at(i) = params->at(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4356,7 +4356,8 @@ int ObSPIService::spi_cursor_close(ObPLExecCtx *ctx,
|
||||
package_id, routine_id, cursor_index, cur_var);
|
||||
OV (ignore ? true : NULL != cursor ? !cursor->is_invalid_cursor() : true, OB_ERR_INVALID_CURSOR);
|
||||
OZ (cursor_close_impl(ctx, cursor, cur_var.is_ref_cursor_type(),
|
||||
package_id, routine_id, ignore));
|
||||
package_id, routine_id, ignore),
|
||||
K(package_id), K(routine_id), K(cursor_index), K(cur_var));
|
||||
if (OB_SUCC(ret) && DECL_PKG == loc) {
|
||||
OZ (spi_update_package_change_info(ctx, package_id, cursor_index));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user