c70ed24253
plan, executor: clean code. ( #4994 )
2017-11-02 23:32:04 +08:00
0616a2fd15
executor, distsql: remove useless code. ( #4991 )
2017-11-02 19:40:59 +08:00
2339a703d8
*: remove useless code in executor. ( #4982 )
2017-11-02 15:48:59 +08:00
e34fc447fc
plan: remove old planner. ( #4979 )
2017-11-02 14:47:21 +08:00
5ad1eb8e24
distsql: remove xeval ( #4978 )
2017-11-02 14:06:54 +08:00
030b3628d5
*: Remove the check of initialized auto ID ( #4971 )
2017-11-02 12:24:19 +08:00
0b24d6022e
plan, executor: improve index join to support all join types ( #4944 )
2017-11-01 15:44:22 +08:00
29153d7b20
*: opentracing for Execute,ParseSQL,Compile,runStmt ( #4929 )
2017-10-31 05:13:59 -05:00
35fe2cae42
ddl, statistics: resolve the package dependency. ( #4960 )
2017-10-31 17:13:30 +08:00
ecf07101b2
parser: Fix the bug of alter table table_options, other_alter_specification ( #4931 )
2017-10-31 15:07:49 +08:00
d122f5826c
tidb-server,executor: add command option and log success/fail for slow-query ( #4934 )
2017-10-30 11:49:08 +08:00
e6f86e35d2
plan: build prepared statement plan in Optimize phase. ( #4914 )
...
When we build the `Execute` plan, the underlying plan is not built, so we don't know what the plan is before we execute it.
This PR move the plan building for prepared statement to optimizer, so we know what plan we are going to execute before we execute it.
2017-10-28 23:04:07 +08:00
25879d3649
expression: support builtin function ROW_COUNT ( #4853 )
2017-10-28 09:18:58 +08:00
e40ad67efa
parser, executor: truncate info field for show processlist and show full processlist support ( #4739 )
2017-10-26 22:52:13 +08:00
d036f0ef25
plan, executor: improve merge join to support all join types ( #4869 )
2017-10-26 18:39:02 +08:00
37681cf435
*: opentracing for two phase commit ( #4900 )
2017-10-26 17:43:45 +08:00
4550e91919
ddl: Fix rename table bug ( #4862 )
2017-10-26 12:41:47 +08:00
2285e65cd9
excutor: tiny code cleanup ( #4899 )
2017-10-25 21:15:08 +08:00
a84bf5bf35
executor: use max uint64 as analyze's start timestamp ( #4892 )
2017-10-25 16:51:26 +08:00
3d7167273b
plan: join's default value length should be changed when do column pruning. ( #4882 )
2017-10-25 15:44:03 +08:00
1f4fc35320
executor, plan: correct the schema type of ShowStmt ( #4886 )
2017-10-25 13:55:20 +08:00
b0d20c9d6b
*: parse and ignore REPLICATION CLIENT/SLAVE, USAGE privileges in grant statement ( #4870 )
2017-10-25 00:26:53 -05:00
e96321b3f1
ranger: simple improvement for range calc for pk. ( #4767 )
2017-10-24 20:21:23 +08:00
ebf090b0dc
plan, executor: remove some XXStmt from resolver.go ( #4823 )
...
* plan, executor: remove AdminStmt, AlterTableStmt, AnalyzeTableStmt, DropStatsStmt, CreateIndexStmt,
CreateTableStmt, DoStmt, DropTableStmt, DropIndexStmt, RenameTableStmt, SetStmt, ShowStmt from resolver.go
2017-10-24 06:16:34 -05:00
0306bb0070
tidb: support a plan cache for prepared statements ( #3956 )
...
* tidb: support a plan cache for prepared statements
2017-10-24 00:55:51 -05:00
ed7f68ca9b
*: Add Row interface ( #4859 )
2017-10-23 11:36:28 +08:00
e15238423f
executor, plan: add cast for the expr of assignments of updateList ( #4850 )
2017-10-20 08:58:33 -05:00
7afae3f89c
*: support write slow query log into seperate files ( #4804 )
2017-10-20 14:22:10 +08:00
1b87bc1d55
executor: fix a select bug when handle is MaxInt64 ( #4835 )
2017-10-19 21:38:55 -05:00
c49c2d333d
inspectkv: rename package inspectkv to admin ( #4815 )
2017-10-19 21:33:24 -05:00
16eb0ae33b
executor: fix bug when auto_increment meets unsigned. ( #4824 )
2017-10-19 15:31:16 +08:00
1a987dd825
*: Support the operation of cancel DDL jobs ( #4753 )
...
* *: support cancel the DDL job
2017-10-18 22:28:04 -05:00
b9bf914312
*: dummy implementation for show profiles statement ( #4795 )
...
* *: dummy implementation for show profiles statement
* address comment
2017-10-17 03:27:12 -05:00
d5a26905ef
parser: add int1, int2, int3, int4, int8 type support ( #4803 )
2017-10-17 03:15:33 -05:00
e452dc51aa
*: add schema state check ( #4801 )
2017-10-17 15:52:20 +08:00
21c21973c0
executor: make slow-query log more terminal friendly ( #4764 )
2017-10-16 06:03:03 -05:00
4bfa5faf63
executor: Add unit test case for ShowExecutor. ( #4763 )
2017-10-16 10:50:14 +08:00
a34964a36a
*: improve the column info for client ( #4770 )
...
Add table/database info in the response message.
2017-10-15 08:27:13 -05:00
d88344f869
plan, tidb: support plan cache for SELECT statement ( #4644 )
2017-10-11 22:34:04 -05:00
182476ea0f
stats: fix bug when merge sample collectors ( #4752 )
2017-10-11 22:05:47 -05:00
51a6e6fc48
*: fix ineffectual assignments #4713 ( #4746 )
2017-10-11 21:26:03 -05:00
f2f473d02e
executor: little improvement for multi-delete. ( #4742 )
2017-10-11 01:59:54 -05:00
7d2804e43c
*: check sc.IgnoreZeroInDate when parsing string or number to date/datetime/timestamp ( #4732 )
2017-10-10 23:38:53 -05:00
a7aaa64c76
parser: parse error compatible ( #4238 )
2017-10-10 13:00:56 +08:00
3e1d036336
*: log the caller of "terror.Log()" ( #4729 )
2017-10-10 11:26:43 +08:00
64b5bc8ccd
mysql,ddl: fix #4684 , unsigned integer column length is not consistent with MySQL ( #4693 )
2017-10-09 17:24:37 +08:00
9c2ea17722
*: enforce errcheck in Makefile ( #4724 )
...
checks all errors and enable errcheck in Makefile
Fixes https://github.com/pingcap/tidb/issues/4668
2017-10-09 17:16:10 +08:00
2c90dd0ca8
exectuor: fix data race in test ( #4714 )
2017-10-08 22:07:02 -05:00
eb8df3519a
*: prepare to enforce errcheck, part1 ( #4670 )
2017-09-30 16:23:37 +08:00
883b9aea5d
*: open analyze push down ( #4698 )
2017-09-30 13:48:36 +08:00