fix mysqltest
This commit is contained in:
@ -742,6 +742,12 @@ int ObPLPackageManager::set_package_var_val(const ObPLResolveCtx &resolve_ctx,
|
||||
OX (cursor->set_sync_cursor());
|
||||
}
|
||||
}
|
||||
} else if (var->get_type().is_opaque_type()) {
|
||||
if (var_val.is_null()) {
|
||||
ret = OB_NOT_SUPPORTED;
|
||||
LOG_WARN("can not sync package opaque type", K(ret));
|
||||
LOG_USER_ERROR(OB_NOT_SUPPORTED, "sync package opaque type");
|
||||
}
|
||||
} else {
|
||||
OZ (var->get_type().deserialize(resolve_ctx,
|
||||
var->get_type().is_cursor_type() ?
|
||||
|
@ -294,6 +294,8 @@ int ObPLPackageState::make_pkg_var_kv_value(ObPLExecCtx &ctx, ObObj &var_val, in
|
||||
} else {
|
||||
OX (value.set_bool(true));
|
||||
}
|
||||
} else if (var->get_type().is_opaque_type()) {
|
||||
value.set_null();
|
||||
} else {
|
||||
OZ (var->get_type().serialize(resolve_ctx, var_val, value));
|
||||
}
|
||||
|
Reference in New Issue
Block a user