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 bug in parsing of version comments #8770

Merged
merged 8 commits into from
Sep 6, 2021

Conversation

systay
Copy link
Collaborator

@systay systay commented Sep 6, 2021

Description

We were reading the version flag before having parsed the flags, and that does not work, so the running version was always set to 5.7

Related Issue(s)

Fixed #8753

Checklist

  • Tests were added or are not required
  • Documentation was added or is not required

@systay systay changed the title Version comment Fix bug in parsing of version comments Sep 6, 2021
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Copy link
Member

@GuptaManan100 GuptaManan100 left a comment

Choose a reason for hiding this comment

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

Good catch!

@GuptaManan100
Copy link
Member

End to end tests seem to be failing though @systay

@systay systay merged commit 369edc0 into vitessio:main Sep 6, 2021
@systay systay deleted the version-comment branch September 6, 2021 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version-specific MySQL comments can fail even if vtgate -mysql_server_version is set correctly
4 participants