Commit Graph

843 Commits

Author SHA1 Message Date
58dca67d6e *: fix close problem for index look up executor. (#3957) 2017-07-31 21:13:42 +08:00
f283948ae9 plan: fix the order of schema columns (#3946) 2017-07-31 15:49:14 +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
597796e166 *: fix bad column offsets in DML. (#3754) 2017-07-28 20:56:25 +08:00
240dcf8bc1 *: rewrite bitNeg using new expression evaluation architecture (#3937) 2017-07-28 19:14:55 +08:00
53b27dd3ec tidb/config: Extract the configuration as a package and add two configurations for tidb (#3919)
add the ability to configure the slow query threshold and max log length
2017-07-28 17:01:22 +08:00
640e34dc97 *: rewrite unary not using new expression evaluation architecture (#3925) 2017-07-28 15:34:51 +08:00
bb1878d271 executor: fix bug when sort meets apply. (#3932) 2017-07-28 14:33:11 +08:00
0dbb0877e0 plan, executor: support ordered index join. (#3921) 2017-07-28 13:45:27 +08:00
e4c104b291 expression, executor, plan: rewrite builtin function PI (#3846) 2017-07-28 11:30:10 +08:00
e94996addf *: add parser support for multiple tables renaming (#3892) 2017-07-27 20:01:24 +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
91ba0841b0 executor, sessionctx, util: treat decimal truncation as warning during inserting (#3897) 2017-07-26 19:10:42 +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
0337e201bd executor: analyze index should keep order (#3887) 2017-07-25 23:38:06 +08:00
96857eb021 expression, executor: password should return empty string when parameter is null (#3880) 2017-07-25 23:19:12 +08:00
d35acbdf08 types: Fix insert error when column length is zero (#3849) 2017-07-25 18:59:38 +08:00
8ebe4c2549 plan, executor, expression: refactor explain (#3809) 2017-07-25 14:12:48 +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
4dadd2dc88 executor: sort handles for double read. (#3865) 2017-07-24 17:59:54 +08:00
c59d5bc6f7 parser: support two json grammar sugar. (#3854)
`select a->'$.a'` equals to `select json_extract(a, '$.a')`;
`select a->>'$.a'` equals to `select json_unquote(json_extract(a, '$.a'))`.
2017-07-24 14:01:49 +08:00
a9b1a83f31 executor: fix a bug in index join. (#3860) 2017-07-23 15:42:19 +08:00
ff7de9972f expression, executor, plan: rewrite builtin function unhex. (#3830) 2017-07-20 19:56:12 +08:00
a19ad3f480 ddl: support create index with type and comment (#3814) 2017-07-20 19:01:14 +08:00
b55245dd83 executor: a naive support for load data fields enclosed by (#3759) 2017-07-20 15:08:24 +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
fc9d5eb215 executor, codec: fix bug when join 2 decimal keys. (#3797) 2017-07-19 11:42:17 +08:00
8b289ed94a expression, executor, plan: rewrite builtin function atan (#3788) 2017-07-19 11:29:37 +08:00
e0e77d3bac *: reduce analyze table read when table contains PK (#3783)
* *: reduce analyze table read when table contains PK

* fix ci

* *: address comment

* fix ci

* statistics:make comment more accurate
2017-07-18 05:07:17 -05:00
466e48c3de executor, util: fix bug when the join's keys have different types. (#3784) 2017-07-18 16:28:08 +08:00
287d563481 expression, executor, plan: rewrite builtin function acos (#3789) 2017-07-18 14:51:37 +08:00
d8aaa222c8 *: make SET TRANSACTION ISOLATION LEVEL READ COMMITTED take effect (#3619) 2017-07-17 19:16:23 +08:00
e4fc23028f executor: add sort for union test (#3781) 2017-07-17 18:36:29 +08:00
8805688610 expression, executor, plan: rewrite builtin function substring_index. (#3760) 2017-07-17 18:14:16 +08:00