Commit Graph

47 Commits

Author SHA1 Message Date
f522de2e8f ddl: support "or replace" option when create view (#8856) 2019-01-16 19:54:22 +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
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
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
3971357c79 meta/autoid: reduce concurrency in test (#7123)
Makes test more stable.
2018-07-23 11:58:34 +08: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
04ef7d7992 *: shard implicit row ID (#5513) 2018-01-04 16:32:41 +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
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
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
99b7606624 executor: Make admin test stable (#2940) 2017-03-28 14:50:30 +08:00
e49ca0355e meta/autoid: add TestAsyn (#2286)
* meta: add TestAsyn
2016-12-21 15:36:07 +08:00
1c6c145f94 *: Set custom verbose flag to true (#1956)
* *: set custom verbose flag to true

* *: update .gitignore
2016-11-05 18:00:13 +08:00
2b5d2b15d0 *: Fix mysql_test and make autoid rebase method more efficient. (#1637)
* *: fix mysql_test and more efficient autoid rebase method.
2016-08-25 17:49:51 +08:00
fa06043ce7 More efficient autoid rebase methord (#1631)
Prevent update kv everytime when rebase autoid
2016-08-24 11:18:40 +08:00
e31b281ee7 *: use new MyDecimal implementation. (#1611) 2016-08-22 20:24:39 +08:00
2e2bb6d2b0 autoid: increase step of allocator. (#1372)
* autoid: increase step of allocator.

* vendor: update pd client godeps.

* vendor: update kvproto godeps.
2016-07-05 19:03:41 +08:00
708c195782 *:generate local schema ID for memory table. (#1094)
* *:generate local schema ID for memory table.

* meta/autoid: reorder import
2016-04-13 10:29:16 +08:00
xia
6aacddd44e *: unify error format 2016-03-31 16:20:47 +08:00
xia
7a7026e750 *: add a null kind judgment in the update statement and update comments 2016-03-18 14:29:57 +08:00
xia
15c0319294 *: fix issue 962 and handle other questions about auto increment. 2016-03-18 12:23:55 +08:00
6feff794a3 *: address comments 2016-03-10 16:29:36 +08:00
ce531c7f0d executor: fix issue959 and add tests 2016-03-10 15:13:18 +08:00
cd0a3dbe03 *: add Rebase interface and add tests 2016-03-10 15:13:18 +08:00
3cc6bf035f table/tables: use red black tree to implement memory table. 2016-02-25 11:41:49 +08:00
9997e7f46d *: Use memory table to implement Information_Schema 2016-02-20 21:53:43 +08:00
322476ca68 *: add tag to log message to make it easy to be filtered out. 2015-12-17 20:04:20 +08:00
70078490ad meta: toggle alloc id log. 2015-12-17 17:55:17 +08:00
29b5a00b92 meta: Fix format arguments 2015-11-04 12:37:32 +08:00
0c9a4e324b *: cleanup meta and structure. 2015-10-29 17:25:05 +08:00
501e3a7a09 *: Address comment 2015-10-23 16:49:01 +08:00
deaeacddba *: simplify meta function 2015-10-23 16:09:55 +08:00
791f0d6f78 *: refactor with meta API. 2015-10-21 14:46:58 +08:00
xia
ed9b0c6e2a *: Update format 2015-09-08 15:40:29 +08:00
xia
b7431ecf0a *: pass go vet 2015-09-07 16:57:00 +08:00
xia
66253f0fd7 *: pass go vet
pass go vet
2015-09-06 19:10:04 +08:00
xia
9238a23f27 *: pass go vet
pass go vet
2015-09-06 18:45:42 +08:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00