Skip to content

[PG-1635] Return void from add/change key provider functions #376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

AndersAstrand
Copy link
Collaborator

The returned provider id was not useful for end-users as they cannot do anything with it. They always use the provider name when interacting with these settings.

If they really want to see these ids they can easily just use the functions to list all providers to see them.

The reason for this change is that it might be confusing for users when the function to create a global provider returns -1 on success without any indication that it's just the generated id and not an error code.

The returned provider id was not useful for end-users as they cannot do
anything with it. They always use the provider name when interacting
with these settings.

If they really want to see these ids they can easily just use the functions
to list all providers to see them.

The reason for this change is that it might be confusing for users when
the function to create a global provider returns -1 on success without
any indication that it's just the generated id and not an error code.
@AndersAstrand AndersAstrand merged commit 81100a3 into percona:TDE_REL_17_STABLE May 30, 2025
16 checks passed
@AndersAstrand AndersAstrand deleted the tde/return-void-from-add-and-change-provider branch May 30, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants