Commit Graph

604 Commits

Author SHA1 Message Date
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
b2f8a6fceb parser: parse kill statement (#2734) 2017-02-27 13:58:02 +08:00
07952cb108 *: basic support show warnings. (#2724) 2017-02-24 16:29:39 +08:00
3ad2608c9a plan: decorrelate for aggregation. (#2682)
* plan: decorrelate for aggregation.

* add test

* address comment.
2017-02-24 09:45:57 +08:00
0282310e8b executor,localstore: use default value if column not found in row. (#2703) 2017-02-23 15:18:57 +08:00
3474c0e7b1 executor: Fix show create table with multiple fk (#2711) 2017-02-23 00:07:03 +08:00
61868f44dc *: Support the statement of "create table ... like" (#2707) 2017-02-22 23:57:04 +08:00
f7c95f3f42 executor: grant statement allow pattern string in db and table name (#2688) 2017-02-22 22:59:18 +08:00
94418b289f *: add a ctx parameter to distsql.Select, kv.Client and tikv.Client (#2699) 2017-02-22 16:02:22 +08:00
a2f2e3f40a tidb,store/tikv: use special session to execute ExecRestrictedSQL (#2687) 2017-02-22 15:08:17 +08:00
95f6b237ab executor: fix statement count metrics for prepared statement. (#2704) 2017-02-22 13:22:45 +08:00
4f95252ab0 *: add Cancel method for tidb.Session, Canceled for context.Context (#2636) 2017-02-22 12:56:20 +08:00
16fa15d890 *: support revoke statement (#2661) 2017-02-21 22:05:50 +08:00
624e7edebe executor: fix bug about topn pushing down. (#2693) 2017-02-21 14:54:56 +08:00
6859d121b9 txn:improvement for point get by unique key or pk (#2631) 2017-02-20 22:39:36 +08:00
fd9744c5e9 executor: start a goroutine to consume task channel if errorred. (#2678)
Fix goroutine leak.
2017-02-20 22:18:14 +08:00
43c73b7caa util/types: fix bug when truncating string values. (#2686) 2017-02-20 20:35:47 +08:00
846b267b46 util/types: ignore string truncate error. (#2685) 2017-02-20 19:51:08 +08:00
faf74ee5ca executor: fix a bug when subquery meet update. (#2669) 2017-02-18 19:18:50 +08:00