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

Add configurable zstd compression level #261

Open
wants to merge 2 commits into
base: 3.3
Choose a base branch
from

Conversation

markus456
Copy link
Contributor

The compression level has been hard-coded to the default value of 3. Making it configurable makes the connector-c more compatible with MySQL which has configurable compression levels.

The MySQL protocol documentation as well as the comments in code state
that the compression level is stored in one byte. The code, however,
used four bytes.
The compression level was always hard-coded to 3.
@markus456 markus456 requested a review from 9EOR9 November 7, 2024 04:53
@markus456
Copy link
Contributor Author

This depends on pull request #259 being merged before this one.

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