932c4a7bfc
expression: improve length and decimal size when a base type add/minus/multiply a decimal ( #11873 )
2019-08-28 13:29:05 +08:00
1805d7aa01
expression: fix DIV with decimal type ( #11804 )
2019-08-21 19:15:47 +08:00
adb3071c90
*: refine the attribute definition of types.Time and types.Dur… ( #11672 )
2019-08-14 11:30:40 +08:00
f478af034c
expression: fix overflow when signed + unsigned ( #9840 )
2019-03-22 13:37:24 +08:00
d9e02b76dd
expression: remove redundant "errors.Trace()" in "expression" package ( #8609 )
2018-12-07 12:20:31 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
b3cda9a7dc
expression: fix comments mistake ( #7713 )
2018-09-17 14:28:14 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
55565f1c93
expression: fix out of range error for intdiv ( #7492 )
2018-08-28 11:24:48 +08:00
06021c7cfe
remove types.Row interface ( #7170 )
2018-07-27 13:45:03 +08:00
5f7fc80389
expression, types: fix decimal minus/round/multiple result ( #7001 )
2018-07-12 00:02:19 +08:00
c5f9740ed7
expression: fix err message of ErrOverflow in IntDivideDecimal ( #6683 )
2018-05-31 15:21:41 +08:00
4ea89b3505
expression: Fix the decimal fraction of DIV ( #6590 )
2018-05-23 11:42:37 +08:00
b32d6cf712
expression: set pb code for builtinArithmeticDivideDecimalSig ( #6583 )
2018-05-20 21:30:49 +08:00
357d5df66b
remove useless alias ( #6473 )
2018-05-05 22:36:54 +08:00
f21483e6ed
expression: add Clone() for builtinFunc
2018-04-11 10:00:19 -05:00
6cb61dda15
expression: fix type infer for binary literal ( #6151 )
2018-03-27 11:30:00 +08:00
0553deeb42
*:improve code readability and unified aliases ( #5997 )
2018-03-15 10:52:36 +08:00
4e1a114e68
*: move package context to sessionctx ( #5890 )
2018-02-22 18:03:38 +08:00
fc6376981d
*: remove GetSessionVars() in expression evaluation ( #5683 )
2018-01-22 11:04:32 +08:00
07dc46d3cb
expression: refactor hybrid type expressions ( #5550 )
2018-01-06 11:04:50 +08:00
fea4b02ff3
expression, types: "Flen" and "Decimal" of "TypeNewDecimal" should not be -1 ( #5523 )
...
* expression, types: "Flen" and "Decimal" of "TypeNewDecimal" should not be -1
2017-12-31 12:23:04 +08:00
96809723b7
expression: support sql_mode NO_UNSIGNED_SUB ( #5030 )
2017-11-09 14:23:42 +08:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
ed7f68ca9b
*: Add Row interface ( #4859 )
2017-10-23 11:36:28 +08:00
64bc8cb6cb
expression: remove "self" field in "baseBuiltinFunc" completely ( #4766 )
...
* expression: remove "self" field in "baseBuiltinFunc" completely
* address comment
2017-10-13 04:55:25 -05:00
83ace4f748
expression: return NULL when error is not nil ( #4749 )
2017-10-11 03:38:03 -05:00
b4ad894b0a
expression, plan: do come code clean and make golint happy ( #4681 )
2017-09-29 10:35:47 +08:00
f89db5b6ec
expression, types: export "evalTp" to "EvalType" and move it to package "types" ( #4626 )
...
* expression, types: export "evalTp" to "EvalType" and move it to package "types"
* add source file
* change "ETJSON" to "ETJson"
2017-09-26 11:25:27 +08:00
45bdd69cde
*: support signature push down. ( #4495 )
2017-09-25 18:58:42 +08:00
069cc8b222
expression: open new expression framework by default ( #4595 )
2017-09-22 15:29:42 +08:00
bd01434de0
expression: remove the usage of "TypeClass" in "builtin_arithmetic.go" ( #4575 )
2017-09-22 13:52:10 +08:00
a8b09d2761
expression: reorganize error messages for non-existent functions ( #4582 )
2017-09-21 12:14:50 +08:00
c899e5bb16
expression: rewrite builtin function: MOD ( #4407 )
2017-09-21 09:48:51 +08:00
92bea5afa4
expression: rewrite builtin function: INTDIV ( #4213 )
2017-09-05 20:03:02 +08:00
55bbc41069
expression: adjust getFunction context.Context param position ( #4400 )
2017-09-01 16:03:19 +08:00
d739d7fd17
*: support sig push down in mocktikv. ( #4364 )
2017-08-30 20:28:12 +08:00
f564022e59
expression: set pb code for signatures. ( #4358 )
2017-08-29 13:45:31 +08:00
f02a615bed
expression: remove useless error return ( #4347 )
2017-08-28 20:34:30 +08:00
9288b4e243
expression: correct overflow check for PLUS ( #4281 )
2017-08-22 20:40:07 +08:00
9049b92371
expression: correct overflow check on function MINUS ( #4266 )
2017-08-22 10:48:32 +08:00
97e9dfe92c
expression: Fix Flen for DATETIME, TIMESTAMP and TIME ( #4264 )
2017-08-21 16:10:04 +08:00
7a488163d0
expression: rewrite builtin function: DIV ( #4180 )
2017-08-17 20:47:17 +08:00
44a7e900cd
*: set default length for some types ( #4200 )
2017-08-16 15:56:34 +08:00
ff2ea377e7
expression: rewrite builtin function: MUL ( #4118 )
2017-08-11 13:53:59 +08:00
18f84dd3c6
expression, plan: rewrite builtin arithmetic function: MINUS ( #4077 )
2017-08-08 22:30:11 +08:00
3d7c74f1a4
expression, plan: rewrite builtin arithmetic function: PLUS ( #3858 )
2017-08-07 22:02:31 +08:00