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

Fix autocommit invalidly reported in several cases #4052

Merged
merged 3 commits into from
Jan 10, 2023

Conversation

javsanpar
Copy link
Contributor

@javsanpar javsanpar commented Dec 13, 2022

Also, add tests to check those cases

@javsanpar javsanpar force-pushed the v2.x-fix_autocommit_handshake_resp branch 2 times, most recently from 4797e9c to ee20a3e Compare December 14, 2022 09:53
Otherwise, autocommit status flag is always zero, instead of displaying
its true value.

OK responses were reporting an invalid autocommit during handshake,
reset_connection and change_user petitions.
Commit c319438484d918cc90d3cd3eb8dd3d4d0eecd5a1 fixed the bug that
caused autocommit to be shown as disabled when it is truly enabled.
@javsanpar javsanpar force-pushed the v2.x-fix_autocommit_handshake_resp branch from ee20a3e to 42600f4 Compare December 14, 2022 13:11
@javsanpar javsanpar changed the title Fix autocommit invalidly reported for HANDSHAKE_RESPONSE Fix autocommit invalidly reported in several cases Dec 14, 2022
…e_user

Adds a test to check that ProxySQL OK responses to reset_connection and
change_user petitions have autocommit flag set.
@javsanpar javsanpar force-pushed the v2.x-fix_autocommit_handshake_resp branch from 42600f4 to 0e7afa3 Compare December 15, 2022 13:51
@renecannao renecannao merged commit 709149f into v2.x Jan 10, 2023
@renecannao renecannao deleted the v2.x-fix_autocommit_handshake_resp branch January 11, 2023 10:45
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