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 --skip-strict-mode option #712

Merged
merged 2 commits into from
Mar 24, 2019
Merged

Conversation

babinomec
Copy link
Contributor

@babinomec babinomec commented Feb 14, 2019

Related issue: #711

Description

This PR adds a --skip-strict-mode option which enables the user to tell gh-ost not to enfore STRICT_ALL_TABLES sql_mode mode on copy and applier (which affect other sql_mode options such as ERROR_FOR_DIVISION_BY_ZERO, NO_ZERO_DATE, and NO_ZERO_IN_DATE.

In case this PR introduced Go code changes:

  • [v] contributed code is using same conventions as original code
  • [v] script/cibuild returns with no formatting errors, build errors or unit test errors.

Copy link
Contributor

@shlomi-noach shlomi-noach left a comment

Choose a reason for hiding this comment

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

looks good. It is unfortunate that this flag is needed 🤷‍♂️

@shlomi-noach shlomi-noach temporarily deployed to production/mysql_role=ghost_testing March 18, 2019 06:51 Inactive
@shlomi-noach shlomi-noach merged commit d6c6508 into github:master Mar 24, 2019
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.

3 participants