Commit Graph

8026 Commits

Author SHA1 Message Date
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
c0ed36dd18 plan: fix index filter condition push down (#3867)
When the index in index filter condition contains prefix length, it should not be push down to the index plan.
2017-07-24 23:12:36 +08:00
c605b0d636 infoschema,util/types: fix infoschema not support unsigned (#3818) 2017-07-24 19:45:24 +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
6d48faa8d2 plan: fix bug of apply plan. (#3855) 2017-07-23 15:54:00 +08:00
a9b1a83f31 executor: fix a bug in index join. (#3860) 2017-07-23 15:42:19 +08:00
b091e828cf table(test): add unit tests for coverage of package table (#3770) 2017-07-21 21:34:59 +08:00
90cd982da3 expression: add unit test for expr_to_pb.go (#3842) 2017-07-21 18:45:19 +08:00
51ff387364 ci: update circle ci to v2 (#3850) 2017-07-21 18:19:17 +08:00
29925a8073 plan: remove useless plan. (#3841) 2017-07-21 18:00:17 +08:00
663323ce54 store/tikv: abstract MVCCStore interface and add test (#3837) 2017-07-21 12:10:06 +08:00
da91cf8a87 util,store/tikv: trace caller of cancel() by a new WithCancel (#3812) 2017-07-21 10:44:22 +08:00
584a0c32dc model, distsql: add unit tests (exclude distsql/xeval) (#3806) 2017-07-20 23:16:20 +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
a19ad3f480 ddl: support create index with type and comment (#3814) 2017-07-20 19:01:14 +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
62fcf2c798 statistics: make the naming more coherent (#3827) 2017-07-20 18:06:00 +08:00
edb9110a7c *: CoerceDatum should deal with truncate error internally (#3799) 2017-07-20 16:46:06 +08:00
b55245dd83 executor: a naive support for load data fields enclosed by (#3759) 2017-07-20 15:08:24 +08:00
26f307a538 util/types: add test for datum eval function (#3795) 2017-07-20 14:42:32 +08:00
e4ea902125 expression, executor, plan: rewrite builtin function ceil (#3819) 2017-07-20 14:32:35 +08:00
ac77039d83 *: Make travis happy (#3821) 2017-07-20 13:33:05 +08:00
ae3c67911d ddl: Fix the wrong offset when using PK as an index (#3820)
* ddl: fix wrong offset
2017-07-20 12:59:13 +08:00
ea84cabf0e plan: set column's FromID to the projection's ID (#3811) 2017-07-20 11:09:47 +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
cb4e3dd3d4 ddl: fix a version bug (#3800) 2017-07-19 13:08:13 +08:00
9459f1d10f plan: refactor projection elimination (#3687) 2017-07-19 12:28:54 +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
f187f88040 kv (test): coverage of kv to 83% (#3790) 2017-07-19 11:06:12 +08:00
e36ba7c3b2 store/tikv: increase max backoff. (#3798) 2017-07-19 09:17:42 +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
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
e2a122bfbb generation-expression: add name resolve (#3676) 2017-07-18 13:29:24 +08:00
006f364c30 domain: handle load privilege loop watch channel closed (#3786) 2017-07-18 10:21:51 +08:00
d8396b8ed4 when svr doest not return error it is not needed to log it. (#3785) 2017-07-17 22:23:59 +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
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