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

finish add tryMultiply to check overflow #2484

Merged
merged 1 commit into from
Nov 22, 2023
Merged

finish add tryMultiply to check overflow #2484

merged 1 commit into from
Nov 22, 2023

Conversation

AEsir777
Copy link
Contributor

now multiply will check if the result is within range of the operand types. If not, overflow exception will be thrown.

Copy link

codecov bot commented Nov 22, 2023

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (a7314db) 91.52% compared to head (e5558c8) 91.53%.
Report is 6 commits behind head on master.

Files Patch % Lines
src/function/arithmetic/multiply.cpp 90.32% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2484   +/-   ##
=======================================
  Coverage   91.52%   91.53%           
=======================================
  Files        1024     1026    +2     
  Lines       37855    37904   +49     
=======================================
+ Hits        34648    34694   +46     
- Misses       3207     3210    +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@AEsir777 AEsir777 force-pushed the try-multiply branch 2 times, most recently from d4236e9 to 2b2fd46 Compare November 22, 2023 21:18
src/common/types/timestamp_t.cpp Outdated Show resolved Hide resolved
@AEsir777 AEsir777 force-pushed the try-multiply branch 2 times, most recently from f509e54 to 570740e Compare November 22, 2023 21:41
@AEsir777 AEsir777 merged commit c2b2cd9 into master Nov 22, 2023
12 checks passed
@AEsir777 AEsir777 deleted the try-multiply branch November 22, 2023 22:33
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.

3 participants