-
Notifications
You must be signed in to change notification settings - Fork 1.3k
PanicOnWarnings option to detect SQL warnings and fail the copy process #1500
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
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
6c2e10f
First pass at raise_on_warnings
grodowski 4af1cb0
Update dev.yml
grodowski 7a4fc8f
add CLI option, ignore expected warnings, check for row count discrep…
grodowski c6c8f24
Count rows in each insert range prepared query
grodowski 9395272
Lint comments - ensure errors are handled in show warnings
grodowski 4d7e856
update TestBuildUniqueKeyRangeEndPreparedQuery
grodowski 30d78bd
Localtests for PanicOnWarnings with data loss
grodowski d56fca9
Unwrap CTE (mysql 5)
grodowski 3c9d224
Update localtests/panic-on-warnings-duplicate-unique-values-on-column…
grodowski d9cba90
limit BuildUniqueKeyRangeEndPreparedQueryViaOffset subquery properly
grodowski 7f614e0
Update Applier to support all unique indices with PanicOnWarnings. Ad…
grodowski 74f60a9
Impl code review feedback for PanicOnWarnings
grodowski 1487b5c
bump golangci-lint for local dev
grodowski 1ca8ffc
Support altering index names with PanicOnWarnings
grodowski 71a63c4
Fix string matching for PanicOnWarnings to correctly suppress warning…
grodowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.