b438bf21f6
expression: give the full error message when the result of calling the exp function is out of range ( #11862 )
2019-08-27 09:35:35 +08:00
f409f0b4cf
expressio: fix data race of rand function ( #11168 )
2019-07-10 17:39:38 +08:00
8d4db9fb0e
expression: refactor builtin function RAND to be compatible with MySQL ( #9387 )
2019-02-22 17:22:09 +08:00
353861fe8f
expression: fix abs push down sign bug ( #8622 )
2018-12-10 10:48:49 +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
b87b5f0898
expression: refine built-in func truncate to support uint arg ( #8000 )
2018-10-24 15:42:32 +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
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
426ae62f9e
expression: fix wrong result of floor ( #6620 )
2018-05-23 14:42:42 +08:00
9f7fb424ef
expression: fix wrong result of CEIL integer ( #6606 )
2018-05-23 10:56:38 +08:00
93f27dc50e
expression: fix wrong result of CEIL ( #6598 )
2018-05-22 13:39:04 +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
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
8b15cb52b7
*: move StatementContext to its own package. ( #5177 )
2017-11-22 00:11:14 +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
60626912a7
expression, plan: remove "foldable" from "baseBuiltinFunc" ( #4759 )
2017-10-12 04:03:54 -05:00
51a6e6fc48
*: fix ineffectual assignments #4713 ( #4746 )
2017-10-11 21:26:03 -05:00
83ace4f748
expression: return NULL when error is not nil ( #4749 )
2017-10-11 03:38:03 -05:00
ca05619cdf
expression: enforce error check ( #4716 )
2017-10-08 22:29:07 -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
069cc8b222
expression: open new expression framework by default ( #4595 )
2017-09-22 15:29:42 +08:00
dba31ef24a
expression: remove the usage of "TypeClass" in "builtin_math.go" ( #4568 )
2017-09-21 09:33:16 +08:00
55bbc41069
expression: adjust getFunction context.Context param position ( #4400 )
2017-09-01 16:03:19 +08:00
f0aad43fec
expression: change isDeterministic to canBeFolded ( #4393 )
2017-08-31 20:35:13 +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
ea29a1c30d
expression: Support more types when getting default flen and decimal ( #4236 )
2017-08-28 02:26:07 -05:00
f289c9bd25
expression: fix date cmp date ( #4294 )
2017-08-24 14:50:40 +08:00
2399126166
expression: rewrite builtin function: CRC32 ( #4215 )
2017-08-17 18:43:55 +08:00
94c5420a86
expression: rewrite builtin function: TRUNCATE ( #4179 )
2017-08-16 12:53:10 +08:00
276defa164
expression: rewrite builtin function RAND, POW, SIGN, SQRT ( #4182 )
2017-08-16 00:07:22 +08:00
1dc7bbe28b
*: use FieldType.Decimal to control the decimal length of double values to be shown in client ( #4191 )
2017-08-15 23:39:59 +08:00
a454c57f54
fix return type error of ceil/floor function ( #4181 )
2017-08-15 21:42:18 +08:00
7e1836aa12
expression: rewrite builtin function: RADIANS ( #4155 )
2017-08-15 13:51:47 +08:00
ac6ca95263
expression: rewrite builtin function: ROUND, ABS ( #4146 )
2017-08-11 17:17:30 +08:00
0bf26a1df7
expression: Refactor return sig.setSelf(sig), errors.Trace(c.verifyArgs(args)) ( #4123 )
2017-08-11 14:12:45 +08:00
3b94ee1f59
expression: rewrite builtin function: CONV ( #4100 )
2017-08-10 11:18:10 +08:00
3d7c74f1a4
expression, plan: rewrite builtin arithmetic function: PLUS ( #3858 )
2017-08-07 22:02:31 +08:00
9a40975437
executor, expression: fix floor and ceil when handle int overflow ( #3980 ) ( #3981 )
2017-08-03 19:01:00 +08:00
e4c104b291
expression, executor, plan: rewrite builtin function PI ( #3846 )
2017-07-28 11:30:10 +08:00