Commit Graph

1625 Commits

Author SHA1 Message Date
d47e303887 executor,sessionctx:Add correctness for system variable: sync_binlog,… (#7716) 2018-09-17 14:58:46 +08:00
9f25032666 plan: fix predicate push down for UnionScan (#7695) 2018-09-17 14:44:53 +08:00
7f6babb2b4 plan: fix mistaken conversion from outer join to inner join (#7689)
exclude upper level join conditions from predicates when simplifying
embedded outer join
2018-09-17 13:39:15 +08:00
b6a540a0f0 reuse chunk to reduce memory usage in union scan (#7717) 2018-09-17 11:34:19 +08:00
33a30cc780 executor: Fix a bug in 'INSERT ... ON DUPLICATE KEY UPDATE' (#7675) 2018-09-14 22:49:17 +08:00
29441950a3 *: write system timezone into mysql.tidb in bootstrap stage. (#7638) 2018-09-14 22:15:00 +08:00
7de83a3c8f plan: use the inferred type as the column type in the schema (#7624) 2018-09-12 20:29:50 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
6604e33c21 domain,executor: store topN slow query in domain (#7646) 2018-09-12 11:01:48 +08:00
b58a977289 type: make decimal default precision visible in show create table (#7667) 2018-09-12 10:29:07 +08:00
27047a0e2f executor: remove *MVMap from agg executor (#7541) 2018-09-11 21:31:48 +08:00
96e44a80f8 executor, expression: calculating the default value for datetime should consider the time zone (#7655) 2018-09-10 16:11:07 +08:00
2d62584a0c executer: make updateRecord easier to understand (#7557) 2018-09-10 16:00:32 +08:00
b3d4ed79b9 server, mysql: return correct column name and column label name (#7600) 2018-09-08 13:06:14 +08:00
8c44f562f5 metrics: add different labels for restricted SQL and general SQL (#7631)
The newly added label is `sql_type`, it has value: `general` and `internal`,
users can use this label to filter metrics they have interest.

Also, add keyword `[INTERNAL]` for restricted SQL printed in slow log for
convenient identification.
2018-09-07 14:23:48 +08:00
b2bfd8f91a executor: support load data with ignore lines (#7576) 2018-09-06 22:58:06 +08:00
e7afbb2713 *: make analyze buckets number configurable (#7619) 2018-09-06 17:16:23 +08:00
92e6a5af4f executor: add batch copy to inner join, left and right outer join. (#7493) 2018-09-05 15:54:04 +08:00
ac8a61ea68 executor: parallel read inner table and build hash table. (#7544) 2018-09-04 15:24:37 +08:00
3d891d9c26 executor: fix update join result when join table order changed (#7571) 2018-09-03 14:12:35 +08:00
1f2841fbd4 ddl: year type should have an unsigned flag (#7542) 2018-08-31 16:45:38 +08:00
720e8230e2 executor: only rebase auto increment ID when needed (#7515) 2018-08-31 14:24:32 +08:00
8d1acc2407 Fix bit default value bug (#7249) 2018-08-31 10:43:02 +08:00
341dc1009c *: tidb tracing prototype (#7016) 2018-08-31 05:25:16 +08:00
5823fb5169 executor: break innerTable fetcher is error happend during fetching outer table (#7554) 2018-08-30 20:31:37 +08:00
9070bb6b86 executer: fix the last_insert_id in insert on duplicate key update (#7534) 2018-08-30 14:16:30 +08:00
55af7e1472 executor: forbid user to drop important system table (#7471) 2018-08-29 23:40:53 +08:00
69d5e36ac4 *: bump go version to 1.11 (#7491) 2018-08-29 21:48:50 +08:00
28fc781474 make load_data test clean (#7536) 2018-08-29 21:15:49 +08:00
360567b1e8 executor/join : use shallow copy for semi join. (#7433) 2018-08-29 15:57:45 +08:00
1255973764 tables: make duplicate error in update clearer (#7495) 2018-08-28 15:34:39 +08:00
bc97e2d616 plan, util/admin: fix admin check table error when a column of index is virtual generated (#6817) 2018-08-28 12:42:55 +08:00
1d0d0a6666 distsql: let analyze use RC level and low priority (#7496) 2018-08-27 18:46:51 +08:00
2d1fae8e56 plan: fix insert onduplicate key update (#7406) 2018-08-27 18:08:08 +08:00
333ead673f ddl: fix admin check bug (#7359) 2018-08-21 15:34:17 +08:00
4836aa33c3 executor: support new aggregate framework for HashAggExec (#7268) 2018-08-21 15:17:25 +08:00
1dc41d8b79 add logs for replace and insert on dup (#7436) 2018-08-21 12:43:41 +08:00
d4e08853e4 executor,statistics: make query feedback work for partitioned table (#7394) 2018-08-21 11:43:48 +08:00
233660af69 Revert "*: add a String method for Datum to make the log more friendly (#7426)" (#7435)
This reverts commit 7773b283907017ccf4835e22091c7a0508cf5383.
2018-08-20 15:17:17 +08:00
7773b28390 *: add a String method for Datum to make the log more friendly (#7426) 2018-08-20 14:09:26 +08:00
d5ab70cfdf executor,sessionctx: Add correctness for more system variables (#7196) 2018-08-19 14:55:15 +08:00
1558a9c096 executor: fix duplicate row check when chunk size is small (#7393) 2018-08-17 16:52:52 +08:00
6e7d75299d test: refine test (#7414) 2018-08-16 17:05:59 +08:00
bbec68304e executor,table: support replace operation for table partition (#7309) 2018-08-16 13:28:50 +08:00
7f286f5c12 types: add one more space to make json pretty (#7389) 2018-08-16 11:04:39 +08:00
82a6c1085c *: introduce the concept of physical ID, code refactory (#7374) 2018-08-16 10:33:24 +08:00
1f8710762d execute/insert: refine data truncate error msg (#7401) 2018-08-16 00:02:45 +08:00
f18176f806 util/testkit: make the msg of failed check more readable (#7386) 2018-08-15 09:24:58 +08:00
5404e2eaae ddl: add admin check before drop table using building flag. (#7343) 2018-08-14 21:44:57 +08:00
1afd12762d plan: fix admin check index panic when index contains pkIsHandle column. (#7350) 2018-08-14 17:29:56 +08:00