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

compression zstd alogrithem support #6

Closed
bung87 opened this issue Oct 15, 2020 · 1 comment
Closed

compression zstd alogrithem support #6

bung87 opened this issue Oct 15, 2020 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@bung87
Copy link
Owner

bung87 commented Oct 15, 2020

https://github.com/bung87/amysql/tree/zstd
run sudo tcpdump -i pktap,lo0 port 3306 -n -q -tttt -s 0 -A on mac shows:
=h..=h..........test
but select * from mysql.general_log shows mysql server didn't get that packet when sending init db command with test.

also it's not clear to me what's the protocol-compression-algorithms value set on server side that support uncompress and zstd
https://dev.mysql.com/worklog/task/?id=12475#New_system_variables:

initial complete in devel branch, some code may need better performance care.

@bung87 bung87 added the help wanted Extra attention is needed label Oct 15, 2020
@bung87
Copy link
Owner Author

bung87 commented Oct 28, 2020

when compression enable and authenticate ,packet will use 7 length header and follow a 4 length header

@bung87 bung87 closed this as completed Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant