Commit Graph

22 Commits

Author SHA1 Message Date
a5188a8370 ddl: return warnings when the alter algorithm is COPY, return errors when the algorithm is wrong (#9367) 2019-02-21 14:59:50 +08:00
dec3ab6358 ddl: support alter algorithm INPLACE/INSTANT (#8811) 2019-02-20 10:22:26 +08:00
5c65128632 ddl: make the leak test stable (#9139) 2019-01-23 13:01:55 +08:00
cfb63114c2 ddl: restricting altering the utf8 charset to utf8mb4 (#9107) 2019-01-22 11:20:16 +08:00
63936cc1fa ddl: resolve the charset by the order: table->database->server (#9105) 2019-01-21 19:56:40 +08:00
083b818bf4 ddl: fix NO_ZERO_DATE handled incorrectly (#8765) 2019-01-16 17:47:53 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
2bde340b77 ddl: fix test of partition add index fail (#8789)
TestPartitionCancelAddIndex and TestPartitionDropIndex sometimes fail.
TestPartitionCancelAddIndex fails because the schema lease is too large.
Then before cancel add index, the add index job has already finished.
TestPartitionDropIndex fails because after TestPartitionCancelAddIndex fail, it doesn't reset the hook.
2018-12-26 10:10:23 +08:00
bd69b15e79 *: add the error check (#8770) 2018-12-24 22:22:00 +08:00
198971f4b3 ddl: fix data race in unit test TestChangeColumn (#8724) 2018-12-18 14:27:49 +08:00
4cbd50101c ddl: reduce the time to run unit tests (#8585) 2018-12-14 16:12:50 +08:00
db2127a0dd ddl: split tests to speed up tests (#8612)
* ddl: add the db_partition_test
2018-12-13 15:06:04 +08:00
d3b92e0288 ddl: fix panic when add index of generated column. (#8620) 2018-12-11 18:08:18 +08:00
1d7d01cfe8 ddl: support altering the other charset to utf8 or utf8mb4 (#8037) 2018-12-10 12:58:18 +08:00
ea0dac5642 ddl: update parser to make TiDB treat charset and collate case insensitive (#8577) 2018-12-07 11:55:50 +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
6e7d75299d test: refine test (#7414) 2018-08-16 17:05:59 +08:00
326baacb93 ddl: batch check the constrains when we add a unique-index. (#7132) 2018-08-06 20:39:31 +08:00
85cd2463bc ddl: fix a bug that we miss adding last handle index in some case. (#7142) 2018-07-25 18:52:35 +08:00
4af1d236fe ddl: rename test name and clean up (#7021) 2018-07-10 13:06:15 +08:00