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
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
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
12c87929b8
*:fix some golint && ineffassign && misspell to improve GoReport Result ( #5867 )
2018-02-23 19:31:05 +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
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
ae00bc2c04
expression: remove the usage of "TypeClass" in "builtin_op.go" ( #4547 )
2017-09-18 14:14:53 +08:00
55bbc41069
expression: adjust getFunction context.Context param position ( #4400 )
2017-09-01 16:03:19 +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
f289c9bd25
expression: fix date cmp date ( #4294 )
2017-08-24 14:50:40 +08:00
8584959c32
expression: remove builtin function: UNARYPLUS ( #4152 )
2017-08-11 19:35:52 +08:00
0bf26a1df7
expression: Refactor return sig.setSelf(sig), errors.Trace(c.verifyArgs(args)) ( #4123 )
2017-08-11 14:12:45 +08:00
eb7eb4325c
expression, plan: rewrite builtin function: IS TRUE && IS FALSE ( #4086 )
2017-08-11 13:26:56 +08:00
c301d9c929
expression: rewrite builtin function: ISNULL ( #4127 )
2017-08-10 17:17:42 +08:00
9a40975437
executor, expression: fix floor and ceil when handle int overflow ( #3980 ) ( #3981 )
2017-08-03 19:01:00 +08:00
d0dcb5b0a6
expression, parser: fix issue #3691 , cast compatibility ( #3894 )
2017-08-01 16:47:38 +08:00
240dcf8bc1
*: rewrite bitNeg using new expression evaluation architecture ( #3937 )
2017-07-28 19:14:55 +08:00
640e34dc97
*: rewrite unary not using new expression evaluation architecture ( #3925 )
2017-07-28 15:34:51 +08:00
4203eba42b
*: rewrite logicalXor using new expression evaluation architecture ( #3899 )
2017-07-27 19:52:07 +08:00
5ae3ae9e42
*: rewrite bitAnd using new expression evaluation architecture ( #3901 )
2017-07-27 06:01:18 -05:00
fb16e7364c
*: rewrite bitOr using new expression evaluation architecture ( #3904 )
2017-07-27 14:33:10 +08:00
df4d25b8fd
*: rewrite bitXor using new expression evaluation architecture ( #3905 )
2017-07-27 13:09:36 +08:00
88b5eb23f0
*: rewrite leftShift using new expression evaluation architecture ( #3906 )
...
* *: rewrite leftShift using new expression evaluation architecture
* *: rewrite rightShift using new expression evaluation architecture
* tiny change
* fix ci
* tiny change
2017-07-27 09:41:34 +08:00
488365285a
*: rewrite rightShift using new expression evaluation architecture ( #3907 )
2017-07-26 21:13:12 +08:00
5f9bcfe63c
*: rewrite logicOr using new expression evaluation architecture ( #3903 )
2017-07-26 19:48:35 +08:00
e008c6c36a
expression: fix #3762 , signed integer overflow handle in minus unary scalar function ( #3780 )
2017-07-26 11:44:00 +08:00
71773cf33c
*: change "AndAnd", "OrOr" to "LogicAnd", "LogicOr" respectively ( #3874 )
2017-07-25 15:53:02 +08:00
ba85195520
*: rewrite builtin func andand ( #3853 )
2017-07-24 23:46:49 +08:00
56044645ee
expression: add setSelf for all built-in functions ( #3218 )
2017-05-11 13:51:03 +08:00
ee312bfd71
expression: Fix code style according to goword ( #3123 )
...
ref https://github.com/pingcap/tidb/issues/3120
2017-04-25 23:35:45 +08:00
e68dcf77dc
*: remove ctx from function args. ( #2566 )
2017-01-28 18:44:02 +08:00
b9e62d69ef
expression: make and/ or expression faster. ( #2561 )
2017-01-26 00:02:02 +08:00
d2db2b3c15
expression: refactor functions. ( #2555 )
2017-01-25 20:17:27 +08:00
962cd0c1fb
expression: move some funcs out of builtin.go ( #2418 )
2017-01-09 16:33:00 +08:00
18fc9aa630
expression: implement functionClass and builtinFunction for op funcs. ( #2391 )
2017-01-05 16:23:31 +08:00