Merged
Conversation
tangenta
reviewed
Dec 12, 2019
mysql/errcode.go
Outdated
| ErrSpatialFunctionalIndex = 3760 | ||
| ErrWrongKeyColumnFunctionalIndex = 3761 | ||
| ErrFunctionalIndexOnField = 3762 | ||
| ErrReferencedForeignKey = 3780 |
Contributor
There was a problem hiding this comment.
According to the MySQL document,
Error number: 3780; Symbol: ER_FK_INCOMPATIBLE_COLUMNS; SQLSTATE: HY000
Message: Referencing column '%s' and referenced column '%s' in foreign key constraint '%s' are incompatible.
The error name should be ErrFKIncompatibleColumns.
Codecov Report
@@ Coverage Diff @@
## master #675 +/- ##
=======================================
Coverage 80.13% 80.13%
=======================================
Files 33 33
Lines 13001 13001
=======================================
Hits 10418 10418
Misses 1964 1964
Partials 619 619Continue to review full report at Codecov.
|
Collaborator
|
LGTM |
tiancaiamao
approved these changes
Dec 13, 2019
Contributor
|
(CLA is borked) |
crazycs520
added a commit
to crazycs520/parser
that referenced
this pull request
Dec 18, 2019
crazycs520
added a commit
to crazycs520/parser
that referenced
this pull request
Dec 18, 2019
kennytm
pushed a commit
that referenced
this pull request
Dec 19, 2019
djshow832
pushed a commit
that referenced
this pull request
Dec 20, 2019
tiancaiamao
pushed a commit
to tiancaiamao/parser
that referenced
this pull request
Apr 27, 2021
* mysql: add foreign key error * address comment
lyonzhi
pushed a commit
to lyonzhi/parser
that referenced
this pull request
Apr 25, 2024
* mysql: add foreign key error * address comment
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What problem does this PR solve?
Add error msg