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

fix bug for non SQLException not thrown #834

Merged
merged 8 commits into from
Apr 19, 2019
Merged

fix bug for non SQLException not thrown #834

merged 8 commits into from
Apr 19, 2019

Conversation

leizhiyuan
Copy link
Contributor

Ⅰ. Describe what this PR did

Exception which not SQLException, should also be thrown

Ⅱ. Does this pull request fix one issue?

fixes #816

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

no need

Ⅳ. Describe how to verify it

cr

Ⅴ. Special notes for reviews

@leizhiyuan leizhiyuan changed the title fix bug for exception not thrown fix bug for non SQLException not thrown Apr 19, 2019
@codecov-io
Copy link

codecov-io commented Apr 19, 2019

Codecov Report

Merging #834 into develop will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #834   +/-   ##
==========================================
  Coverage      38.02%   38.02%           
  Complexity      1006     1006           
==========================================
  Files            220      220           
  Lines           8446     8446           
  Branches        1016     1016           
==========================================
  Hits            3212     3212           
  Misses          4848     4848           
  Partials         386      386
Impacted Files Coverage Δ Complexity Δ
...a/io/seata/rm/datasource/exec/ExecuteTemplate.java 0% <0%> (ø) 0 <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 e9bb3e6...2b7fe54. Read the comment docs.

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.

Good!

Copy link
Contributor

@github-ygy github-ygy left a comment

Choose a reason for hiding this comment

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

There is an optimization proposal.

@github-ygy github-ygy merged commit 3d430e1 into apache:develop Apr 19, 2019
nick-tan pushed a commit to nick-tan/seata that referenced this pull request Jul 12, 2019
@wangliang181230 wangliang181230 added this to the 0.5.* milestone Aug 9, 2021
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.

In ExecuteTemplate.java line ,new a SQLException but not throw it, is it a matter?
6 participants