ed7bb00417
planner, expression: support builtin function NAME_CONST ( #9261 )
2019-02-19 10:02:46 +08:00
d9e02b76dd
expression: remove redundant "errors.Trace()" in "expression" package ( #8609 )
2018-12-07 12:20:31 +08:00
29f14d4178
*: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' ( #7965 )
2018-11-09 16:32:21 +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
f21483e6ed
expression: add Clone() for builtinFunc
2018-04-11 10:00:19 -05:00
5445e17fac
*: fix in-compatible behavior when modify value from Navicat GUI ( #6105 )
2018-03-22 15:38:27 +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
970e5b5684
*: replace JSON with BinaryJSON ( #5460 )
2017-12-21 15:20:17 +08:00
02f6bb27c7
*: remove goCtx from session struct ( #5174 )
...
1. go context should not be stored
2. change Executor interface to Open(goctx.Context)
3. many other changes forced by this refactor
2017-11-22 02:17:38 -06: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
83ace4f748
expression: return NULL when error is not nil ( #4749 )
2017-10-11 03:38:03 -05:00
1c99d41ca2
expression: Quit builtin function SLEEP when KILLed. ( #4708 )
2017-10-08 21:12:36 -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
a8b09d2761
expression: reorganize error messages for non-existent functions ( #4582 )
2017-09-21 12:14:50 +08:00
55bbc41069
expression: adjust getFunction context.Context param position ( #4400 )
2017-09-01 16:03:19 +08:00
82c9c3002a
expression: rewrite builtin function:GET_LOCK, RELEASE_LOCK ( #4398 )
2017-09-01 12:54:16 +08:00
f0aad43fec
expression: change isDeterministic to canBeFolded ( #4393 )
2017-08-31 20:35:13 +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
e31a7405e4
expression: rewrite builtin function: ANY_VALUE ( #4178 )
2017-08-16 13:03:56 +08:00
e41d2cf6ae
expression: rewrite builtin function: IS_IPV4, IS_IPV6, IS_IPV4_COMPAT, IS_IPV4_MAPP ( #4144 )
2017-08-15 15:01:37 +08:00
b6c65888ba
expression: rewrite builtin function: INET_ATON, INET_NTOA, INET6_ATON, INET6_NTOA ( #4130 )
...
* rewrite builtin ip functions
2017-08-15 12:39:01 +08:00
d5b860b126
expression: throw unsupported error during type infer stage ( #4156 )
2017-08-14 11:33:04 +08:00
0bf26a1df7
expression: Refactor return sig.setSelf(sig), errors.Trace(c.verifyArgs(args)) ( #4123 )
2017-08-11 14:12:45 +08:00
f0fd27c5b5
expression: rewrite builtin function: SLEEP ( #4096 )
2017-08-09 19:37:17 +08:00
663323ce54
store/tikv: abstract MVCCStore interface and add test ( #3837 )
2017-07-21 12:10:06 +08:00
e88919f5e5
expression, executor: rewrite built-in function uuid. ( #3721 )
2017-07-14 10:48:58 +08:00
0487312f80
Use one function to handle IPv4Mapped and IPv4Compat ( #3596 )
2017-07-05 15:23:48 +08:00
e773fa5b79
builtin: IsIPv4Compat function ( #3538 )
2017-06-26 10:38:55 +08:00
6033cfccb7
expression: Implementation of INET6_NTOA ( #3333 )
2017-05-26 09:43:17 +08:00
56044645ee
expression: add setSelf for all built-in functions ( #3218 )
2017-05-11 13:51:03 +08:00
c8e674e6d4
builtin: IsIPv4Mapped function ( #3193 )
2017-05-04 10:31:33 +08:00
ab25fa9e90
expression: Make UUID() a dynamic function ( #3207 )
2017-05-04 10:16:28 +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
6518819274
builtin: inet6_aton function ( #3051 )
2017-04-24 07:57:31 +08:00
050e7b32e2
expression: fix bug in sleep function. ( #3101 )
2017-04-21 13:31:13 +08:00
b1a1e94bd5
expression/builtin: fix inet6_ntoa ( #3012 )
2017-04-07 19:06:54 +08:00
61228e5a96
add builtin function inet_aton ( #2882 )
2017-04-05 23:14:32 +08:00
a2eb611ea5
*: add built-in function is_ipv4 ( #2864 )
2017-03-29 15:31:57 +08:00
e95ff609b7
builtin function: add inet_ntoa builtin function ( #2887 )
...
* add inet_ntoa builtin function
2017-03-25 23:08:19 -05:00