Commit Graph

622 Commits

Author SHA1 Message Date
78f7eab61d *: refactor distsql and executor. (#2942) 2017-03-29 15:20:25 +08:00
3bfc8207bc expression: fix bug about function equal logic. (#2951) 2017-03-29 14:38:39 +08:00
ee7df059e3 statistics: refactor package. (#2913) 2017-03-29 11:32:40 +08:00
9f17a88377 fix some typo in comments (#2943) 2017-03-29 08:55:49 +08:00
62c4685a7c plan: fix sort plan explain (#2937) 2017-03-29 08:51:39 +08:00
b799b182e8 store: Support table scan, index scan and selection with DAG. (#2930) 2017-03-28 22:36:21 +08:00
a89879d61a executor: skip the unstable test. (#2939)
Multiple package runs on the same process in parallel, we can't make sure the test always pass.
2017-03-28 15:12:50 +08:00
99b7606624 executor: Make admin test stable (#2940) 2017-03-28 14:50:30 +08:00
c8c7dde6d7 plan: enforce property for index join. (#2938) 2017-03-28 12:02:37 +08:00
60ba388e0c *: check visibility for show databases and tables (#2934) 2017-03-28 11:28:50 +08:00
0e172acd8e Add a controller in Selection to control the conditions of the below scan plan. (#2834)
Prepare for IndexLookupJoin.
2017-03-28 09:58:49 +08:00
95fb7d0ec3 Revert "fix sort in explain (#2933)" (#2936)
This reverts commit a6bf9231f985c6fe6a7049f9d56026d14a92d07d.
2017-03-28 00:23:33 +08:00
a6bf9231f9 fix sort in explain (#2933) 2017-03-27 23:59:38 +08:00
6c6f23f329 Maxiaoyu/ordered merge join (#2931)
plan: make merge sort keep ordering during planning
2017-03-27 19:27:43 +08:00
9f23ab74a9 store/tivk: wait task channel in Close (#2925) 2017-03-27 12:28:31 +08:00
6aa45e441c Make index serial scan concurrency configurable and fix golint errors. (#2928) 2017-03-27 00:57:19 +08:00
1513adc986 store/tikv: fix coprocessor iterator goroutine leak. (#2921) 2017-03-24 19:14:46 +08:00
ed56d82fa7 sessionctx/variable: refine TiDB specific system variables. (#2915) 2017-03-24 12:57:33 +08:00
7aa024c9a0 *: add UTF8 check global variable. (#2899) 2017-03-23 08:56:21 +08:00
60bcd987d5 plan/statistics: concurrent build columns (#2713) 2017-03-22 22:16:45 +08:00
7739d97697 Sort Merge Join (#2850)
parser/plan/executor: Added Merge Join operator with Hints
2017-03-22 21:42:16 +08:00
b4f985f385 plan: rebuild schema for join after join reordering. (#2905) 2017-03-21 16:41:25 +08:00
586b8718c0 plan: fix bug when apply meet limit. (#2894) 2017-03-21 09:55:47 +08:00
d85a4cb1c8 table/column: disable utf8 check. (#2895)
When old row has invalid utf8 value and the data doesn't change, we should not fail to update.
So temporarily disable utf8 check until we can handle this problem.

* *: change log level

* *: do not truncate
2017-03-20 17:24:59 +08:00
2aab1cf701 plan: fix bug when aggregation push across union. (#2892) 2017-03-20 16:56:50 +08:00
30fc95ef6d Revert "*: upgrade mysql.user table schema (#2849)" (#2893)
This reverts commit d0ddbaa418d86320b21813d8f8bde45539396787.
2017-03-20 15:22:21 +08:00
d0ddbaa418 *: upgrade mysql.user table schema (#2849) 2017-03-20 14:33:43 +08:00
294334fe0b *: change standard "context" package to "golang.org/x/net/context" (#2890) 2017-03-20 13:03:51 +08:00
af3fb807ed server: stop listener on critical error. (#2854) 2017-03-17 18:54:51 +08:00
6c59d520e6 *: remove stats switch. (#2846) 2017-03-16 17:11:28 +08:00
66085c3f12 *: add system table mysql.stats_meta (#2766) 2017-03-16 14:46:28 +08:00
a408b86269 *: support in subquery unfolding (#2816) 2017-03-16 14:26:34 +08:00
10260db2bd table/tables: fix update unique index in transaction (#2843) 2017-03-16 12:02:50 +08:00
c93cfcb025 executor,store/tikv: fix data race (#2833) 2017-03-15 20:10:40 +08:00
88d8a841e4 store/tikv: refactor copIterator (#2804) 2017-03-15 18:37:20 +08:00
cca10bab58 table: check and truncate UTF8 string in CastValue. (#2819) 2017-03-15 11:26:19 +08:00
4654c71b82 ddl: should not set default value to zero value. (#2822)
When adding a new column, not null is specified and no default value is provided, we
should only set `OriginDefaultValue` to zero value, not `DefaultValue`.
2017-03-14 18:53:18 +08:00
3efbbbfc13 plan: combine agg_prune and agg_pushdown. (#2820) 2017-03-14 14:38:28 +08:00
51fce6fd51 plan: fix bug about column prunning. (#2796) 2017-03-09 15:40:16 +08:00
d792ba7b05 executor: add expensive query metrics (#2795) 2017-03-08 20:35:17 +08:00
517e32b25c store,executor: tiny changes, consider ctx (#2748) 2017-03-08 15:22:29 +08:00
a623e670e6 *: implement "kill tidb xxx" statement (#2768) 2017-03-08 13:32:22 +08:00
fb9cd85e2e *: Speed up the add columns phase (#2769) 2017-03-07 20:11:29 +08:00
09a8c1bd7a *: tiny refact move SetProcessInfo (#2790) 2017-03-07 14:48:38 +08:00
ef1b2c9ae6 executor: grant statement would create user if not exist (#2756) 2017-03-06 15:04:30 +08:00
e6ad664f8c executor: range task channel in XSelectIndexExec.Close. (#2775) 2017-03-06 13:35:05 +08:00
f5d098e7e9 plan: remove useless aggregation when pushing down aggregation (#2702) 2017-03-01 14:59:37 +08:00
87d39986fe *: show processlist (#2744) 2017-03-01 14:39:13 +08:00
92a0b89771 parser: grant select on test.* to 'test' (#2757) 2017-03-01 12:50:40 +08:00
661637080d *: Add a empty table for triggers (#2749) 2017-02-28 09:33:18 +08:00