158ba1a1d9
*: enable part revive for all code ( #36703 )
2022-08-01 14:02:06 +08:00
f88dab92f9
util: use generics to implement max/min ( #34197 )
...
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
1bf64c60f4
*: Refactor FieldType structure ( #33569 )
...
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
0beac1800c
expression: fix the wrong rounding behavior of Decimal ( #33278 )
...
close pingcap/tidb#32213
2022-04-02 14:32:29 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
02fd303db6
expression: fill %s in error of decimal overflow ( #28338 )
2021-09-27 21:02:47 +08:00
949dafb35c
expression: Fix wrong way to check for overflow ( #27122 )
2021-08-20 13:12:01 +08:00
7755d25aba
*: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers ( #27198 )
2021-08-16 18:52:00 +08:00
4325eebcf4
expression: optimize localSliceBuffer to be lock-free ( #26078 )
2021-07-16 13:13:33 +08:00
1fd8aa8070
expression: minus/plus/multiply (for Int and Real) check null iff overflow ( #26105 )
2021-07-15 17:49:33 +08:00
d4a17a6151
expression: mod check null if zero ( #26109 )
2021-07-12 10:59:31 +08:00
88b587c08f
expression: fix float64 overflow check in plus/minus real function ( #24179 )
2021-06-24 18:17:25 +08:00
97e7b60a0b
expression: PlusInt check null iff overflow ( #25466 )
2021-06-16 14:28:37 +08:00
e1fccc6e98
expression: add overflow check in multiplyInt ( #22926 )
2021-04-07 10:46:31 +08:00
32a9c3d13c
expression: separated arithmeticModIntSig ( #22137 )
2021-03-29 17:07:24 +08:00
31c13d6e38
expression: fix bugs in builtinfunction ArithmeticMinusInt logic ( #22426 )
2021-02-26 13:00:54 +08:00
50607db18d
expression: Optimize builtinArithmeticModRealSig and builtinGreatestDecimalSig using MergeNull method ( #22418 )
...
* optimize with mergenulls
* optimize with mergenulls
* remove unnecessary import
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2021-02-22 22:27:09 +08:00
931ff98df5
simple fixes for the staticcheck linter ( #18923 )
...
Note that this found 2 bugs where errors were being silently ignored.
These are really simple fixes that didn't require much thought.
There are still more staticcheck warnings that should be fixed.
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-06 13:38:17 +08:00
4645c6582d
expression: check ErrTruncate/Overflow for CastRealAsDecimalSig ( #18961 )
2020-08-04 14:37:45 +08:00
22fb77ee11
expression: handle ErrTruncated when dividing decimals in non-data-change stmts ( #14438 )
2020-02-07 14:02:52 +08:00
50e7cab87b
expression: implement arithmetic vec int divide int sig ( #14464 )
2020-01-20 10:27:05 +08:00
18d7d55b9d
expression: implement vectorized evaluation for builtinArithmeticIntDivideDecimalSig ( #13602 )
2019-12-09 21:14:18 -06:00
b06e4ec9ca
expression: implement vectorized evaluation for builtinArithmeticMinusIntSig ( #12772 )
2019-11-09 01:02:39 -06:00
035fe071a2
expression: implement vectorized evaluation for builtinArithmeticModIntSig ( #13012 )
2019-11-01 17:26:34 +08:00
076503a468
expression: implement vectorized builtinArithmeticMultiplyIntUnsignedSig ( #12834 )
2019-10-22 20:46:29 +08:00
0386777045
implement vectorized builtinArithmeticMultiplyIntSig ( #12714 )
2019-10-21 16:49:04 +08:00
acd14097b4
implement builtinArithmeticModDecimalSig ( #12763 )
2019-10-17 08:51:02 +08:00
7312a62937
expression: implement vectorized evaluation for builtinArithmeticDivideDecimalSig ( #12716 )
2019-10-16 19:34:33 +08:00
6b403e5767
expression: implement vectorized evaluation for builtinArithmeticPlusIntSig ( #12559 )
2019-10-16 15:31:38 +08:00
73c172a660
expression: fix random unit test failed in vectorized evaluation for builtinArithmeticModRealSig ( #12722 )
2019-10-15 19:25:33 +08:00
4105c39baf
implement builtinArithmeticMultiplyDecimalSig ( #12689 )
2019-10-15 12:24:41 +08:00
d4a13122b9
expression: implement vectorized evaluation for builtinArithmeticModRealSig ( #12696 )
2019-10-15 12:11:25 +08:00
876e794d72
expression: implement vectorized evaluation for builtinArithmeticMinusDecimalSig ( #12584 )
2019-10-14 16:29:32 +08:00
17586b0858
expression: implement vectorized evaluation for builtinArithmeticPlusDecimalSig ( #12567 )
2019-10-09 21:47:39 +08:00
f6c019cd1a
expression: implement vecEval for ArithmeticDivideRealSig ( #12546 )
2019-10-09 16:24:05 +08:00
2865b81244
expression: implement vectorized evaluation for builtinArithmeticMultiplyRealSig ( #12543 )
2019-10-08 16:29:46 +08:00
7d54d8cd04
expression: implement vectorized evaluation for builtinArithmeticPlusRealSig ( #12518 )
2019-10-08 12:01:49 +08:00
804b5f996e
expression: implement vectorized evaluation for builtinArithmeticMinusRealSig ( #12524 )
2019-10-08 11:53:17 +08:00
73432870cf
expression: generate vecEval methods for all functions to avoid further conflicts ( #12395 )
2019-09-25 20:41:47 +08:00