Skip to content
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

MongoDB: use constants instead of types enum in OpMsgMessage #4821

Closed
wants to merge 2 commits into from

Conversation

matejk
Copy link
Contributor

@matejk matejk commented Dec 16, 2024

Some compilers improperly use BinaryWriter::operator << (int) instead of unsigned char for an typed enum, causing the binary structure to become invalid.

The enum is replaced with constants.

See #4810 for discussion.

@matejk matejk added this to the Release 1.14.1 milestone Dec 16, 2024
@matejk matejk closed this Dec 16, 2024
@matejk matejk deleted the 8801-mongodb-opmsg-payload-constants branch December 16, 2024 14:08
@matejk matejk removed this from the Release 1.14.1 milestone Dec 16, 2024
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.

1 participant