Skip to content

Bugfix: Macro INTERNAL conflict with gRPC header status contant defin… #23

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

Closed
wants to merge 1 commit into from

Conversation

whitebob
Copy link

The Macro INTERNAL will result in conflict with google gRPC status code defintion.
reference: https://github.com/grpc/grpc/blob/master/include/grpcpp/impl/codegen/status_code_enum.h

In grpc/include/grpcpp/impl/codegen/status_code_enum.h , enum StatusCode
117- /// Internal errors. Means some invariants expected by underlying System has
118- /// been broken. If you see one of these errors, Something is very broken.
119: INTERNAL = 13,

Replace Macro INTERNAL with INTERNAL_API will solve this conflict.

…tion.

In grpc/include/grpcpp/impl/codegen/status_code_enum.h , enum StatusCode

117-  /// Internal errors. Means some invariants expected by underlying System has
118-  /// been broken. If you see one of these errors, Something is very broken.
119:  INTERNAL = 13,

Replace Macro INTERNAL with INTERNAL_API will solve this conflict.
@mysql-oca-bot
Copy link

Hi, thank you for submitting this pull request. In order to consider your code we need you to sign the Oracle Contribution Agreement (OCA). Please review the details and follow the instructions at http://www.oracle.com/technetwork/community/oca-486395.html
Please make sure to include your MySQL bug system user (email) in the returned form.
Thanks

@mysql-oca-bot
Copy link

Hi, there was no response to our request to sign an OCA or confirm the code is submitted under the terms of the OCA. As such this request will be closed.
Thanks

@rsomla1
Copy link
Contributor

rsomla1 commented Apr 4, 2025

Hi,

Sadly, I can not use your patch if you have not signed the OCA agreement. Please sign it if possible. Since you described the issue clearly I will go ahead and report a bug for it.

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.

3 participants