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 non-transacitonal SQL validation #1

Open
drednout opened this issue May 30, 2022 · 0 comments
Open

Add non-transacitonal SQL validation #1

drednout opened this issue May 30, 2022 · 0 comments

Comments

@drednout
Copy link
Contributor

Need to return error when TRX migration contains queries that can't be used in migration or can't be rolled back in a migration.

For example, MySQL autocommits all schema changing queries: https://dev.mysql.com/doc/refman/8.0/en/implicit-commit.html

When such query is found, migration should not start and warning must be printed to the output:

Please use NOTRX for MySQL migrations, see https://dev.mysql.com/doc/refman/8.0/en/implicit-commit.html

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

No branches or pull requests

1 participant