Commit Graph

631 Commits

Author SHA1 Message Date
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
735380c8c6 executor, expression: fix flen inferring in concat when meeting negative length(#3771) (#3777) 2017-07-17 17:59:26 +08:00
bde940f399 Add a tidb_version() function to show tidb-server info (#3592) 2017-07-17 17:07:54 +08:00
6ea235f69f expression, executor, plan: rewrite builtin function log (#3763) 2017-07-17 16:06:47 +08:00
5a3a8b0c29 expression, json: fix a bug of json_unquote. (#3764) 2017-07-17 14:29:18 +08:00
9436c49dc7 expression, executor, plan: rewrite builtin function asin (#3765) 2017-07-17 10:37:42 +08:00
c49bc64465 expression, executor: rewrite built-in bit_length func. (#3722)
* expression,executor: rewrite builtin func lower and upper.

* expression: fix field type for builtin func lower and upper.

* expression: fix bugs for test case.

* expression, executor: refactor builtin func for lower and upper.

* expression, executor: rewrite test case.

* expression: fix bugs for builtin func lower and upper.

* express, executor: rewrite built-in bit_length func.

* expression, executor: fix testcase for bit_length.

* expression, executor: fix bugs for built-in func bit_length.

* expression, executor: fix bugs for built-in bit_length.

* expression, executor: add test case varbinary for built-in func bit_length.

* expression, plan: field length bugs for built-in func bit_length fixed.

* expression: remove unnecessary type check for built-in func bit_length.
2017-07-15 10:36:31 +08:00
7db25f45c8 plan, expression: improve merge join with multiple keys. (#3737) 2017-07-14 16:28:50 +08:00
e88919f5e5 expression, executor: rewrite built-in function uuid. (#3721) 2017-07-14 10:48:58 +08:00
6d6bc24f90 expression: add unit test for builtin_other.go (#3741) 2017-07-13 22:51:01 +08:00
7294232a9e *: rewrite compare functions using new expression evaluation architecture (#3714) 2017-07-13 19:46:46 +08:00
fefbc3ce69 expression: UPPER and LOWER should return a binary string when input is a binary string (#3744) 2017-07-13 18:44:41 +08:00
3602c20225 expression: add unit test for builtin_info.go (#3735) 2017-07-13 13:21:17 +08:00
0da3efabdb expression, executor: rewrite builtin func log10 (#3733) 2017-07-13 12:16:55 +08:00
d99f2974fb expression: add unit test for function CASE (#3730) 2017-07-12 23:34:48 +08:00
300dd5c7c1 expression, executor, plan: rewrite builtin function substring/substr. (#3711) 2017-07-12 18:22:21 +08:00
d309490b6a server,expression: fix CI and make golint happy (#3723) 2017-07-12 11:40:14 +08:00
6f6bd5cba5 expression, executor: rewrite builtin function TO_BASE64 (#3598) 2017-07-11 14:56:26 +08:00
1fbcb6252e expression, executor, plan: rewrite builtin function replace. (#3702) 2017-07-11 14:01:31 +08:00
c65ada3ae9 expression,executor: rewrite builtin func LOWER and UPPER. (#3550) 2017-07-11 13:39:18 +08:00
fd7fcdee8d expression, executor: rewrite builtin function CONCAT_WS (#3558) 2017-07-11 13:23:43 +08:00
18f6f66a16 executor, expression: fix cast(-1 as unsigned)(#3704) (#3705) 2017-07-11 11:35:56 +08:00
d4b35c7806 executor, expression: rewrite builtin func left and right (#3540) 2017-07-10 20:28:12 +08:00
c902fa6661 *: move column, constant, like typeinfer to expression rewrite (#3667) 2017-07-10 19:15:24 +08:00