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

bugfix:containsPK ignoreCase #1218

Merged
merged 3 commits into from
Jun 20, 2019
Merged

bugfix:containsPK ignoreCase #1218

merged 3 commits into from
Jun 20, 2019

Conversation

slievrly
Copy link
Member

Signed-off-by: slievrly slievrly@163.com

Ⅰ. Describe what this PR did

bugfix:containsPK ignoreCase

Ⅱ. Does this pull request fix one issue?

fix #1217 #1176

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Signed-off-by: slievrly <slievrly@163.com>
@codecov-io
Copy link

codecov-io commented Jun 18, 2019

Codecov Report

Merging #1218 into develop will decrease coverage by 0.01%.
The diff coverage is 54.54%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #1218      +/-   ##
=============================================
- Coverage      43.94%   43.93%   -0.02%     
- Complexity      1447     1451       +4     
=============================================
  Files            253      253              
  Lines          10262    10272      +10     
  Branches        1332     1335       +3     
=============================================
+ Hits            4510     4513       +3     
- Misses          5171     5176       +5     
- Partials         581      583       +2
Impacted Files Coverage Δ Complexity Δ
...a/io/seata/rm/datasource/sql/struct/TableMeta.java 32.58% <0%> (-0.75%) 15 <0> (ø)
...ain/java/io/seata/common/util/CollectionUtils.java 53.57% <75%> (+3.57%) 17 <4> (+4) ⬆️
...server/store/file/FileTransactionStoreManager.java 45.99% <0%> (-1.05%) 19% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a7d3e72...95529d0. Read the comment docs.

if (null == sourceList || sourceList.size() == 0) { return sourceList; }
List<String> destList = new ArrayList<>(sourceList.size());
for (String element : sourceList) {
destList.add(element.toUpperCase());

Choose a reason for hiding this comment

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

Element needs to check null.

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

@slievrly
Copy link
Member Author

line 179.
Element needs to check null.

great found.i will fix it.

Signed-off-by: slievrly <slievrly@163.com>
Copy link
Member

@xingfudeshi xingfudeshi left a comment

Choose a reason for hiding this comment

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

LGTM

@leizhiyuan leizhiyuan self-requested a review June 20, 2019 03:59
@leizhiyuan leizhiyuan added this to the 0.7.0 milestone Jun 20, 2019
Copy link
Contributor

@leizhiyuan leizhiyuan left a comment

Choose a reason for hiding this comment

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

LGTM

@xingfudeshi xingfudeshi merged commit 0807ca5 into apache:develop Jun 20, 2019
@leizhiyuan leizhiyuan modified the milestone: 0.7.0 Jul 10, 2019
nick-tan pushed a commit to nick-tan/seata that referenced this pull request Jul 12, 2019
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.

Rm cannot find primary key when primary key is Uppercase in sql ,using MySQL.
5 participants