Commit Graph

8026 Commits

Author SHA1 Message Date
13fc8fcd27 executor: support Chunk for RevokeExec (#5458)
* executor: support Chunk for RevokeExec

* fix build
2017-12-21 10:32:48 +08:00
cebf2ebd2d plan: remove parents totally (#5454) 2017-12-20 23:23:55 +08:00
6608dbdc2f executor: fix a bug of NewIndexLookUpJoin's Next(). (#5455) 2017-12-20 20:57:12 +08:00
9fd28c9c35 plan: benchmark optimize function (#5448) 2017-12-20 18:47:54 +08:00
076242fde8 plan: second step of removing parents (#5451) 2017-12-20 17:47:51 +08:00
85fe9ff057 plan: first step of removing parents (#5449) 2017-12-20 17:22:31 +08:00
c9dc477e40 types/json: add binary json functions (#5428) 2017-12-20 15:27:18 +08:00
cefe18f3cf makefile: fix coverage ci. (#5450) 2017-12-20 14:09:06 +08:00
55dfb67362 stats: fix trigger condition for auto analyze (#5446) 2017-12-20 13:37:05 +08:00
a807202116 plan: push a handle into schema if datasource's schema have no col. (#5447) 2017-12-19 20:54:48 +08:00
6b6afb6c55 expression, plan: support builtin aggregation function 'bit_or' (#5145) 2017-12-19 05:51:08 -06:00
fed3ffac0b types,statistics: don't use time.Local timezone in time Sub (#5424) 2017-12-19 18:22:31 +08:00
f6d0599dea plan, executor: only rebuild range when using prepare cache. (#5442) 2017-12-19 15:49:56 +08:00
163c944397 executor: support Chunk for ShowDDLJobsExec (#5412) 2017-12-19 14:17:19 +08:00
0b5c0cf94d expression,plan: make function ExtractColumns more efficient (#5435)
The old recursive function signature make many unnecessary allocation:
func ExtractColumns(expr Expression) (cols []*Column)

Recursive call on this one would be much better:
func extractColumns(result []*Column, expr Expression, filter func(*Column) bool) []*Column
2017-12-18 22:41:45 -06:00
b3338a2eb3 server: graceful shutdown will wait clients to close (#5375) 2017-12-19 11:29:19 +08:00
801c317896 statistics: benchmark selectivity function (#5441) 2017-12-18 20:54:22 -06:00
7995346d8d *: clean up and some file renaming. (#5440) 2017-12-18 23:24:25 +08:00
8f63b8325e util/chunk: add mutable row type. (#5427) 2017-12-18 20:55:07 +08:00
8b1cd6ef8e plan: adjust logical plan test (#5433) 2017-12-18 19:30:18 +08:00
7369a47cf4 plan: refine the code about deriving stats. (#5426) 2017-12-18 15:09:33 +08:00
0a8d91d896 server: in column info for "TypeBit", "Length" should not be multiplied by 4 (#5431)
* server: fix "Length" column info for TypeBit
2017-12-18 14:37:03 +08:00
65b2b0d452 *: Set the batch delete/insert size by session variable (#5413)
We hardcode it to 20k. But if the row size is large. It will still break
the transaction size limitation. So we need to provide a way to set it
dynamicially.
2017-12-17 21:11:18 -06:00
4d57f422fe executor: support Chunk for ShowDDLExec (#5415) 2017-12-16 22:59:20 +08:00
327ffd8896 executor: support Chunk for CancelDDLJobsExec (#5416) 2017-12-15 21:50:51 +08:00
e9c6cc6154 executor: support Chunk for DDLExec (#5417) 2017-12-15 20:40:58 +08:00
8b4f84347b types/json: support binary json type. (#5404) 2017-12-15 20:14:32 +08:00
e13880809e plan: code clean. (#5422) 2017-12-15 18:55:06 +08:00
bbf369ceb2 plan: remove the judgement (#5423) 2017-12-15 18:24:01 +08:00
5353ebe615 *: support analyze all indices statement (#5403) 2017-12-15 17:29:01 +08:00
3fd50289dc .github: Update issue template (#5419)
Using `select tidb_version();` to get version info is more convenient sometimes.
2017-12-15 17:03:18 +08:00
f8c0aaf0c9 parser, expression: support SEPARATOR in group_concat aggregate function (#5420) 2017-12-15 16:36:13 +08:00
e811561336 fix issue 5384 (#5414) 2017-12-15 15:39:24 +08:00
8acf127ebd plan: get req prop and phys plans together (#5378) 2017-12-15 14:33:08 +08:00
82b52f53bb executor: support Chunk for PrepareExec (#5408) 2017-12-15 10:15:34 +08:00
df50524c03 executor: support Chunk for ExistsExec (#5396) 2017-12-15 00:24:38 +08:00
f90908dc7a executor: support Chunk for CheckTableExec (#5407) 2017-12-15 00:14:36 +08:00
491a3e49ed tidb: refine UpdateExec chunk test (#5409) 2017-12-14 22:31:06 +08:00
9cd0d5bea9 *: update tipb (#5406) 2017-12-14 19:58:49 +08:00
d6b69ad7ee executor: new index lookup join executor for Chunk (#5382) 2017-12-14 17:37:36 +08:00
37eb540386 executor: support Chunk for ExplainExec (#5398) 2017-12-14 17:07:44 +08:00
f1e89cde19 *: use lower-case of github.com/sirupsen/logrus (#5400)
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus

* vendor: update pd

* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
6ee266d0ca executor: UpdateExec support NextChunk (#5372) 2017-12-14 15:32:06 +08:00
efe0dcc109 executor: support Chunk for SelectLockExec (#5399) 2017-12-14 14:59:20 +08:00
9ea903f28e load timezone from tikv when start a tidb-server (#5393) 2017-12-14 11:52:11 +08:00
91065a4cae import for mysqlx (#5401) 2017-12-14 11:18:21 +08:00
d209a36aaf executor: support Chunk for SetExecutor (#5397) 2017-12-14 09:28:49 +08:00
81ffef96d7 ddl: fix a bug when format generation expressions. (#5262) 2017-12-13 18:57:01 +08:00
713bc797bb *: clear delta info when roll back transaction (#5390) 2017-12-13 15:35:07 +08:00
12299b826a expression: support date_format push down (#5386)
* support date_format push down

* add expr_to_pb test

* Update vendor
2017-12-13 13:29:01 +08:00