Commit Graph

1204 Commits

Author SHA1 Message Date
9a40975437 executor, expression: fix floor and ceil when handle int overflow (#3980) (#3981) 2017-08-03 19:01:00 +08:00
6921161fde types, expression: cast string as time (#3977)
fix issue #3942
TiDB doesn't treat '.' as a special point, '.' is the fractional seconds part delimiter
2017-08-01 23:35:20 +08:00
6ea563fe5b Fix issue 3966, get_format(TIMESTAMP, 'USA') (#3976) 2017-08-01 20:00:36 +08:00
d0dcb5b0a6 expression, parser: fix issue #3691, cast compatibility (#3894) 2017-08-01 16:47:38 +08:00
26f622d1a7 plan, executor: implement ExplainInfo() interface for data source operators (#3953) 2017-08-01 13:08:24 +08:00
3527750130 expression, executor, plan: rewrite builtin function trim. (#3936) 2017-08-01 10:54:31 +08:00
dff73cc6e4 *: Modify the Makefile for go vet (#3900) 2017-07-30 23:02:52 -05:00
c95bc0c967 plan: implement ExplainInfo() interface for join operators (#3915) 2017-07-31 10:59:52 +08:00
9f66dd1931 expression, executor, plan: rewrite builtin function ltrim and rtrim. (#3939) 2017-07-30 21:10:38 -05:00
8df4f7f753 expression, executor: revert typeinfer of cast and binary ops && add TestUnaryNot (#3941) 2017-07-29 09:44:45 +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
e4c104b291 expression, executor, plan: rewrite builtin function PI (#3846) 2017-07-28 11:30:10 +08:00
4203eba42b *: rewrite logicalXor using new expression evaluation architecture (#3899) 2017-07-27 19:52:07 +08:00
b88d3c2bb1 expression, executor: fix duration column <cmp> constant(#3884) (#3918) 2017-07-27 19:13:32 +08:00
5ae3ae9e42 *: rewrite bitAnd using new expression evaluation architecture (#3901) 2017-07-27 06:01:18 -05:00
0d9ea869c2 *: fix set/get var race (#3913)
* *: fix set/get var race
2017-07-27 16:08:20 +08: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
c0c95199cd plan: implement ExplainInfo() interface for simple operators (#3883) 2017-07-26 20:28:58 +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
1f0c4cb4e1 expression, executor, plan: rewrite builtin function exp (#3871) 2017-07-26 09:59:27 +08:00
96857eb021 expression, executor: password should return empty string when parameter is null (#3880) 2017-07-25 23:19:12 +08:00
85b0155f85 expression: fix EvaluateExprWithNull when meet cast(#3873) (#3875) 2017-07-25 21:16:34 +08:00
d35acbdf08 types: Fix insert error when column length is zero (#3849) 2017-07-25 18:59:38 +08:00
71773cf33c *: change "AndAnd", "OrOr" to "LogicAnd", "LogicOr" respectively (#3874) 2017-07-25 15:53:02 +08:00
8ebe4c2549 plan, executor, expression: refactor explain (#3809) 2017-07-25 14:12:48 +08:00
101be824ac expression: make golint happy (#3872) 2017-07-24 21:38:22 -05:00
6b94f4433a plan, expression: move constant fold to NewFunction (#3868) 2017-07-25 01:22:45 +08:00
4175a7e708 expression, executor, plan: rewrite builtin function cot (#3856) 2017-07-25 00:08:58 +08:00
ba85195520 *: rewrite builtin func andand (#3853) 2017-07-24 23:46:49 +08:00
90cd982da3 expression: add unit test for expr_to_pb.go (#3842) 2017-07-21 18:45:19 +08:00
663323ce54 store/tikv: abstract MVCCStore interface and add test (#3837) 2017-07-21 12:10:06 +08:00
eaa01de109 expression: improve unit test coverage of scalar_function.go to 90.2% (#3840) 2017-07-20 21:30:03 +08:00
9ee8476727 expression: improve unit test coverage of expression.go to 82.5% (#3828) 2017-07-20 20:14:01 +08:00
ff7de9972f expression, executor, plan: rewrite builtin function unhex. (#3830) 2017-07-20 19:56:12 +08:00
40ce39c79a plan, expression: support join key is an expression. (#3813) 2017-07-20 18:39:33 +08:00
6a1df12321 expression: improve unit test coverage for column.go to 94.9% (#3822) 2017-07-20 18:23:48 +08:00
edb9110a7c *: CoerceDatum should deal with truncate error internally (#3799) 2017-07-20 16:46:06 +08:00
e4ea902125 expression, executor, plan: rewrite builtin function ceil (#3819) 2017-07-20 14:32:35 +08:00
37d8ea3e38 expression, executor, plan: rewrite builtin function floor (#3791) 2017-07-19 22:19:01 +08:00
e7f97522b8 expression, executor, plan: rewrite builtin function hex (#3794) 2017-07-19 17:38:12 +08:00
8b289ed94a expression, executor, plan: rewrite builtin function atan (#3788) 2017-07-19 11:29:37 +08:00
8c24c018b4 expression: add unit test for schema.go (#3779) 2017-07-18 20:01:42 +08:00
246de6b354 expression: unit test coverage from builtin_compare.go from 53.2% to 85.8% (#3792) 2017-07-18 19:07:29 +08:00
287d563481 expression, executor, plan: rewrite builtin function acos (#3789) 2017-07-18 14:51:37 +08:00
8805688610 expression, executor, plan: rewrite builtin function substring_index. (#3760) 2017-07-17 18:14:16 +08:00