Commit Graph

6685 Commits

Author SHA1 Message Date
8d345cd09a *: open auto analyze and stats feedback by default (#6500) 2018-05-08 19:18:50 +08:00
34f0764f38 ddl: handle parallel rename table (#6462)
* ddl: handle parallel rename table
2018-05-08 17:28:20 +08:00
60e7a50136 executor: fix a wrong result of limit operator when offset is a multiple of MaxChunkSize (#6498) 2018-05-08 16:16:31 +08:00
b4d6d04a2a store/tikv: avoid using Backoffer as context.Context (#6470) 2018-05-08 11:49:40 +08:00
33ca87f31e metric: remove useless TiKVCoprocessorCounter from codebase (#6492) 2018-05-08 11:24:20 +08:00
6c94805c7a store/tikv: tiny optimize when opentracing is not enabled (#6494) 2018-05-08 10:10:53 +08:00
e6c720a731 store/tikv: rollback all keys when prewrite fail. (#6472) 2018-05-08 09:23:29 +08:00
5ee28538fe session: make unit test TestErrorRollback more stable (#6486) 2018-05-08 09:06:41 +08:00
702f210473 make tidb_opt_insubquery_unfold global (#6482) 2018-05-07 21:15:08 +08:00
ad4e86f033 ddl: support rename the same table name (#6391) 2018-05-07 20:25:01 +08:00
aa76a6eeba plan, executor: correlated column can be pushed down. (#6403) 2018-05-07 19:43:02 +08:00
d876fc0fda mocktikv: ignore lock when lock's type is Lock in get (#6458) 2018-05-07 14:08:58 +08:00
2dbab722e6 metric: rename CreateDDL to CreateDDLInstance (#6480) 2018-05-07 13:08:18 +08:00
4185e53006 tikv/txn: support local latch in transaction (#6418) 2018-05-07 10:57:01 +08:00
1da01ea109 set GC worker and loadDeleteRangeSQL high priority (#6450) 2018-05-07 10:34:25 +08:00
4eb0c1aaf9 store/tikv/gcworker: Set default GC concurrency to 2 (#6443) 2018-05-07 09:30:45 +08:00
1933ced3bd tikv/gcworker: add failure metrics for checkLeader and prepare. (#6452)
GC may keep failing because of check leader or prepare failure, we should add them in metrics.
2018-05-07 07:39:49 +08:00
00d4831535 planner: Fix index name check when build plan for 'ADMIN CHECK INDEX' syntax (#6477) 2018-05-07 00:24:13 +08:00
3324d3b33c admin: admin show ddl jobs add tableName, schema name (#6276) 2018-05-06 20:53:08 +08:00
9cd410d9b2 parser: support 'ALTER TABLE FORCE' syntax (#6476)
* support 'ALTER TABLE FORCE' syntax
2018-05-06 17:16:50 +08:00
7aee5f77d6 parser: index name in 'alter table drop index' should not be empty (#6474) 2018-05-06 07:47:36 +08:00
f09bdf46e2 parser: support opt_bin_mod (#6456) 2018-05-05 23:05:32 +08:00
357d5df66b remove useless alias (#6473) 2018-05-05 22:36:54 +08:00
b804672c6d vendor: update kvproto (#6461) 2018-05-05 13:46:41 +08:00
85b9c65821 store/tikv/coprocessor: check nil for coprocessor stream response. (#6467) 2018-05-04 17:42:19 +08:00
68496aa5f4 ddl: update ddl add index progress timely (#6453) 2018-05-04 15:38:23 +08:00
23e8c6e12b *: add a system variable auto_analyze_ratio (#6455) 2018-05-04 10:54:30 +08:00
9fc856297c expression: support simple expression rewriter (#6432) 2018-05-04 09:20:21 +08:00
e5ab00e5e3 http: scatter table API for table handler (#6378)
* http: scatter table API for table handler
2018-05-03 20:09:14 +08:00
e215e93948 *: provide a configurable tidb_retry_limit session variable (#6369) 2018-05-03 19:52:53 +08:00
bab4993902 *: check privilege for 'show create table' and infoschema tables (#6426)
1. 'show create table xxx' require privilege for the table
2. 'select * from information_schema.tables' should only returns data visible to user
2018-05-02 21:05:13 -05:00
0fda3b408f executor: move IgnoreErr to StmtCtx (#6392) 2018-05-02 17:10:59 +08:00
b84453e750 parser: only allow int column in range partition (#6339) 2018-05-02 14:36:26 +08:00
03c1e5a618 store/tikv: Extract delete range logic from gcworker (#6093)
The deleteRanges method of gcworker contains the logic that deletes a single range. It should be separated from deleteRanges method, so we can call it somewhere else, such as testing.

This part of logic deletes all key-value pairs in a given range, which may span among several regions.
2018-05-01 23:24:02 -05:00
32f4311f07 opt on duplicate update (#6337) 2018-05-02 10:49:54 +08:00
c5cbecbe58 ddl: Add reorg log to make trouble-shooting easier. (#6428) 2018-05-01 20:39:57 -05:00
cf5c9c2f58 Update TiDB introduction (#6429)
* Update TiDB introduction
2018-05-01 23:24:43 +08:00
cd15501cf9 privilege: clean up privilege.Enable variable (#6427) 2018-04-28 07:13:23 -05:00
50426a99b2 plan: calculate table access paths in DataSource.deriveStats (#6346) 2018-04-28 15:58:31 +08:00
8b57ce24ce parser: support more ODBC syntaxes (#6399) 2018-04-28 14:32:01 +08:00
Jay
88e198ae93 README: show release instead of project status (#6415) 2018-04-28 14:09:24 +08:00
2b3ccc4ad3 parser: support alter convert to syntax (#6416) 2018-04-28 13:51:27 +08:00
c946dbbbb7 executor: fix confusing statement label (#6419) 2018-04-28 12:31:08 +08:00
fe6b3f833a parser: support 'ALTER TABLE t AUTO_INCREMENT number' syntax (#6417) 2018-04-28 11:14:29 +08:00
b6b7eb6e1e changelog: fix wording, links and update format (#6413) 2018-04-28 11:01:52 +08:00
7241a916d9 update container builder image to use golang 1.10.1 (#6410) 2018-04-27 14:55:06 +08:00
5f13f6014f plan: refine rule "TopN Push Down" (#6407) 2018-04-27 14:42:34 +08:00
4b32dcc730 *: add a changelog file (#6402) 2018-04-27 14:06:30 +08:00
2e076142c1 parser: fix 'SET NAMES' syntax (#6404) 2018-04-27 11:36:20 +08:00
89e6848748 store/tikv/latch: implement latch scheduler (#6357) 2018-04-26 21:35:22 -05:00