Commit Graph

122 Commits

Author SHA1 Message Date
f522de2e8f ddl: support "or replace" option when create view (#8856) 2019-01-16 19:54:22 +08:00
365264cd21 ddl: add restore deleted table (#7937) 2019-01-16 15:37:33 +08:00
44f2c2c381 Makefile: make 'make check' faster (#8755)
* remove vet check
* make lint check on $(FILES)
2018-12-21 11:12:18 +08:00
7056bb0d32 executor, session: refine insert unsigned bigint autoIncreID (#8181) 2018-12-18 23:01:10 +08:00
c137cada68 *: change golang.org/x/net/context to standard context (#8579) 2018-12-05 13:54:00 +08:00
8672716883 remove an unused variable (#8229) 2018-11-08 13:58:56 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
9ec7515743 *: Add few error checks in tests, clean error messages and fix a misspell (#8101) 2018-10-31 18:50:43 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
73cab9252d Fix some misspells (#7830) 2018-10-08 09:40:03 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
82a6c1085c *: introduce the concept of physical ID, code refactory (#7374) 2018-08-16 10:33:24 +08:00
359df6ecc2 variable, ddl: add session variable 'tidb_ddl_reorg_priority' to set operation priority of ddl reorg (#7116) 2018-08-08 17:16:05 +08:00
3a3845fb24 *: support admin show ddl (#7274) 2018-08-07 18:23:41 +08:00
6815dec5b3 ddl: implement reorganize for table partition when adding index (#6814)
* Handle DDL reorganization for table partitions one by one
* Reorganize metadata changed from handle to startHandle, endHandle, partitionID
2018-07-27 17:49:21 +08:00
8b913c95ef *: rename "GetDDLJob" to "GetDDLJobByIdx" (#7129) 2018-07-25 14:28:45 +08:00
da6f0c1edd ddl: initial support for parallel DDL (#6955) 2018-07-25 10:48:38 +08:00
3971357c79 meta/autoid: reduce concurrency in test (#7123)
Makes test more stable.
2018-07-23 11:58:34 +08:00
998f696421 *: support set relation job (#6206) 2018-04-13 10:30:45 +08:00
cb04e97abf ddl, meta: clean the jobs in adding index queue (#6161) 2018-04-04 19:04:48 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
de9c192cba *: move mocktikv from tikv pkg (#5834) 2018-02-08 23:31:29 +08:00
4db4b45e4a meta: Add metrics for meta package (#5770) 2018-02-02 14:27:55 +08:00
1d07320c66 *: support create time in information_schema (#5590) 2018-01-22 13:33:20 +08:00
04ef7d7992 *: shard implicit row ID (#5513) 2018-01-04 16:32:41 +08:00
132626e4f6 ddl: fix rawArgs is overwritten (#5531)
* ddl: fix rawArgs is overwritten
2018-01-02 17:03:58 +08:00
682bec01f6 meta: tiny clean up (#5538) 2018-01-02 15:58:52 +08:00
48aae7b6ef *: support show auto increment ID (#5470) 2017-12-22 20:16:11 +08:00
f1e89cde19 *: use lower-case of github.com/sirupsen/logrus (#5400)
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus

* vendor: update pd

* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
00a14b52f0 kvencoder: add EncodeMetaAutoID method (#5272) 2017-11-30 19:07:08 +08:00
5f468489ab util: add kvencoder package, make transfer sql to key-values be possible. (#5236) 2017-11-29 18:01:31 +08:00
cbceac701d *:fix the bug about auto-increment key after renaming a table from old DB to the another DB (#5248) 2017-11-29 15:31:16 +08:00
030b3628d5 *: Remove the check of initialized auto ID (#4971) 2017-11-02 12:24:19 +08:00
ce5a3d639c *: remove localstore dependency. (#4965)
* *: use mocktikv for some tests

* change privilege tests.

* remove localstore dependency.

* fix golint

* fix test leak

* fix go sql test.

* change test

* change test

* address comments
2017-11-02 11:04:27 +08:00
12bf655413 *: change some tests' storages to mock-tikv (#4961) 2017-10-31 18:18:31 +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
e6360b1efc *: support SyncLog kv request option (#4689) 2017-09-30 00:15:54 -05:00
eabb62968f meta/autoid: fix ID allocator when transaction failed to commit. (#4585)
* meta/autoid: fix ID allocator when transaction failed to commit.
2017-09-20 20:03:50 +08:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
5340b67466 remove all stuff about backgroud DDL worker. (#4227) 2017-08-18 16:34:28 +08:00
6b6b03dc29 *: add a priority option to transaction, use high priority for meta (#3547) 2017-06-28 16:01:43 +08:00
444983cdfd *: Fix a DDL bug about wait time (#3498)
* *: fix a DDL bug about wait time
2017-06-20 11:30:22 +08:00
7908193b70 *: Fix rename table auto id conflict problem (#3493) 2017-06-16 16:46:27 +08:00
3b9e5de9a5 *: Remove the useless code about DDL owner info (#3472)
* *: remove useless code about the ddl owner
2017-06-15 12:32:27 +08:00
9b04b414c6 *: use TSO instead of local time (#3342) 2017-05-26 15:29:03 +08:00
ee7df059e3 statistics: refactor package. (#2913) 2017-03-29 11:32:40 +08:00
99b7606624 executor: Make admin test stable (#2940) 2017-03-28 14:50:30 +08:00
6f95d18e01 *: remove a useless argument (#2319) 2016-12-25 16:18:53 +08:00
e49ca0355e meta/autoid: add TestAsyn (#2286)
* meta: add TestAsyn
2016-12-21 15:36:07 +08:00