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
bugfix: mysql insert on update duplicate sensitive case not matched #4912
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #4912 +/- ##
=============================================
+ Coverage 49.03% 49.04% +0.01%
- Complexity 4087 4088 +1
=============================================
Files 736 736
Lines 25784 25785 +1
Branches 3180 3180
=============================================
+ Hits 12642 12646 +4
+ Misses 11799 11798 -1
+ Partials 1343 1341 -2
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This pull request introduces 1 alert when merging bdb6ee6 into 8ec5ccd - view on LGTM.com new alerts:
|
rm-datasource/src/main/java/io/seata/rm/datasource/exec/mysql/MySQLInsertOrUpdateExecutor.java
Show resolved
Hide resolved
This pull request introduces 1 alert when merging f9f9550 into b5ddb71 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 6de7b0f into b5ddb71 - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This pull request introduces 1 alert when merging 87554b6 into b5ddb71 - view on LGTM.com new alerts:
|
… matched
Ⅰ. Describe what this PR did
当数据库column为大写,而sql为小写时,读取parameter时匹配不上,造成了前镜像的sql为select * from table导致了全表扫描,后镜像也进行了一次全表扫描的bug
Ⅱ. Does this pull request fix one issue?
fixes #4909
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews