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

implement compress() , uncompress(), and uncompressed_length() #2668

Merged
merged 10 commits into from
Sep 19, 2024

Conversation

jycor
Copy link
Contributor

@jycor jycor commented Sep 18, 2024

MySQL Docs:

The library we are using is compress/zlib, which is slightly different than the MySQL zlib implementation. As a result, the actually compressed data is similar but not equivalent. However, this library is still able to uncompress any MySQL compressed data.

There is czlib, but it is not actively maintained and might require cgo.

@jycor jycor changed the title implement Compress() and Uncompress() implement compress() , uncompress(), and uncompressed_length() Sep 18, 2024
Copy link
Contributor

@fulghum fulghum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 🚢

@jycor jycor merged commit 5055c71 into main Sep 19, 2024
8 checks passed
@jycor jycor deleted the james/compress branch September 19, 2024 17:54
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