-
-
Notifications
You must be signed in to change notification settings - Fork 141
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(common): limit min signed int64 value to -9223372036854775806 #1206 #1349
fix(common): limit min signed int64 value to -9223372036854775806 #1206 #1349
Conversation
…neatom#1206 [summary] In Tianmu engine: For int64, -9223372036854775807 is reserved to indicate as `NULL_64` flag, so we limit min value of int64 to -9223372036854775806. For int32, -2147483648 is reserved to indicate as `NULL_32` flag, we limit min value of int32 to -2147483647.
Thanks for the contribution! Please review the labels and make any necessary changes. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## stonedb-5.7-dev #1349 +/- ##
================================================
Coverage 43.11% 43.12%
================================================
Files 1830 1830
Lines 396395 396395
================================================
+ Hits 170915 170934 +19
+ Misses 225480 225461 -19
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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
Summary about this PR
[summary]
In Tianmu engine:
For int64, -9223372036854775807 is reserved to indicate as
NULL_64
flag, so we limit min value of int64 to -9223372036854775806.For int32, -2147483648 is reserved to indicate as
NULL_32
flag, we limit min value of int32 to -2147483647.Issue Number: close #1206
Tests Check List
Changelog
Documentation