Commit Graph

31 Commits

Author SHA1 Message Date
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
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
5022b5b2cc expression: fix err code in Regexp()/RegexpBinary() (#6854) 2018-06-19 13:59:29 +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
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
b4ad894b0a expression, plan: do come code clean and make golint happy (#4681) 2017-09-29 10:35:47 +08:00
56ed7f129d expression: change like function's behavior. (#4683) 2017-09-29 10:27:23 +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
55bbc41069 expression: adjust getFunction context.Context param position (#4400) 2017-09-01 16:03:19 +08:00
f02a615bed expression: remove useless error return (#4347) 2017-08-28 20:34:30 +08:00
8d66f5b08b expression: rewrite builtin function: RLIKE (#4331) 2017-08-28 16:02:19 +08:00
0bf26a1df7 expression: Refactor return sig.setSelf(sig), errors.Trace(c.verifyArgs(args)) (#4123) 2017-08-11 14:12:45 +08:00
c902fa6661 *: move column, constant, like typeinfer to expression rewrite (#3667) 2017-07-10 19:15:24 +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
3d21df2f74 expression: let store be able to use expression pkg. (#2999) 2017-04-06 17:52:28 +08:00
3f4c71bdbb *: add parser and definition for all unsupported builtin funcs (part 1) (#2649)
* *: add parser and definition for builtin funcs:
bin, elt, exportSet, format, fromBase64, insert, instr, loadFile, lpad
2017-02-16 11:37:42 +08:00
26d54c8866 expression,util/stringutil: move LIKE pattern match to stringutil package (#2548) 2017-01-25 22:28:36 +08:00
d2db2b3c15 expression: refactor functions. (#2555) 2017-01-25 20:17:27 +08:00
52c267959b expression: refactor rest functions. (#2416) 2017-01-09 23:53:46 +08:00
962cd0c1fb expression: move some funcs out of builtin.go (#2418) 2017-01-09 16:33:00 +08:00