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

Make MySQL SetVersion compatible with sql_safe_update #1070

Merged
merged 1 commit into from Apr 30, 2024

Conversation

maxmati
Copy link
Contributor

@maxmati maxmati commented Apr 10, 2024

After change in #656 SetVersion implementation isn't compliant with mysql safe updates mode. Setting limit on delete is enough to make it work with safe update enabled. This should solve #864

Copy link
Member

@dhui dhui left a comment

Choose a reason for hiding this comment

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

@maxmati Can you rebase your PR so tests run?
Sorry that tests were broken before!

@coveralls
Copy link

Coverage Status

coverage: 56.335%. remained the same
when pulling e428ece on certifaction:mysql-safe-update
into 0c456c4 on golang-migrate:master.

@maxmati
Copy link
Contributor Author

maxmati commented Apr 23, 2024

@dhui sure, did it :)

@dhui dhui merged commit 04b36eb into golang-migrate:master Apr 30, 2024
8 checks passed
@dhui
Copy link
Member

dhui commented Apr 30, 2024

Thanks for the fix @maxmati !

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.

None yet

3 participants