Commit Graph

130 Commits

Author SHA1 Message Date
f32a194b8a ddl: fix modify column null to not null bug (#9427) 2019-02-27 10:22:07 +08:00
bae5cab29e ddl: fix unique key constraint check for 'create table' (#9345) 2019-02-22 16:23:38 +08:00
94d21c57aa * fix timestamp default value bug in multiple time zones. (#9115) 2019-02-18 15:35:27 +08:00
33a961decf ddl: fix canceling model.ActionRebaseAutoID and model.ActionShardRowID ddl jobs (#9226) 2019-02-18 11:34:13 +08:00
cfff96555e Handling insertion issue when the dropping column's flag is not null and its state is 'WriteOnly' (#8791) 2019-01-05 09:28:44 +08:00
0147e0cece ddl: refine cancel/rollback ddl job code. (#8858) 2019-01-03 17:11:14 +08:00
198971f4b3 ddl: fix data race in unit test TestChangeColumn (#8724) 2018-12-18 14:27:49 +08:00
d301c16e0e ddl: fix a bug that cancel add index ddl job when workers are not run, which cause tidb ddl hang up (#8171) 2018-11-28 17:10:55 +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
e544882d0b ddl:support the definition of null change to not null using alter table (#7771)
* ddl:support the definition of null change to not null using alter table
2018-10-17 17:13:01 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
c94414d6c7 test:add control parallel execsql tests (#6615)
* add control parallel execsql tests
2018-07-10 12:51:55 +08:00
42675d97fb ddl: adjust the structure of ddl (#6449) 2018-06-14 17:13:50 +08:00
e3f1cfbf06 ddl:check column count limit when add column (#6778) 2018-06-11 09:34:12 +08:00
a4715d5d75 *: unflatten datum in checkIndexAndRecord, to fix admin check table false alarm (#6625) 2018-05-24 15:56:02 +08:00
510287c512 ddl: remove some useless functions (#6379) 2018-04-26 13:17:38 +08:00
1f09f6f32f ddl: support the rolling upgrade. (#6301) 2018-04-17 18:44:06 +08:00
4024e88c7b ddl: check if the column name already exists when we rename the column name (#6284)
* ddl: fix rename column name problem
2018-04-16 14:04:50 +08:00
28c21c9125 ddl: update the column's offset when we do modify column (#6274)
* ddl: fix modify column bug
2018-04-12 18:50:44 +08:00
056be70872 ddl: fix panic in drop column (#5883) 2018-02-23 11:26:04 +08:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
c7d4a7a793 ddl: fix a panic when add column with insert an index column (#5877) 2018-02-12 21:45:45 +08:00
45457ea881 ddl: add column info and index info in log (#5843) 2018-02-12 15:56:16 +08:00
17ee60030c ddl: add metrics for ddl syncer (#5765) 2018-02-02 14:09:52 +08:00
bd5309437e ddl, model: clean up (#5583)
* ddl: rename updateTableInfo to updateVerAndTblInfo and add finish function
2018-01-15 13:16:01 +08:00
5a555703c0 *: garbage collect useless stats info (#5587) 2018-01-11 17:10:30 +08:00
eddff3429a *: importing data reduce memory allocations. (#5549) 2018-01-07 12:48:07 +08:00
ecbd60c3ff *: add arguement StatementContext to Encode functions. (#5566) 2018-01-06 17:31:08 +08:00
132626e4f6 ddl: fix rawArgs is overwritten (#5531)
* ddl: fix rawArgs is overwritten
2018-01-02 17:03:58 +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
5b9640f9a6 ddl: Save reorg doneHandle regularly (#5041)
ddl: Save reorg doneHandle regularly
2017-11-08 21:01:10 -06:00
f7533a68d1 ddl: Add log details and tests (#5021)
* ddl: add log details and tests
2017-11-06 02:16:35 -06:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
35fe2cae42 ddl, statistics: resolve the package dependency. (#4960) 2017-10-31 17:13:30 +08:00
6a8225787f *: update job state name (#4818) 2017-10-19 14:44:57 +08:00
a764561dac *: Speed up the add index operation (#4579) 2017-09-22 18:24:03 +08:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
f5fd467f46 *: change terror.ErrorEqual to Error.Equal, which is more effetive (#4217) 2017-08-17 20:06:48 +08:00
3cb7728103 ddl: add generated check in onDropColumn (#4104) 2017-08-09 19:16:57 +08:00
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00
3347eaca69 ddl: tiny clean up (#4103) 2017-08-09 16:30:50 +08:00
dff73cc6e4 *: Modify the Makefile for go vet (#3900) 2017-07-30 23:02:52 -05:00
cb4e3dd3d4 ddl: fix a version bug (#3800) 2017-07-19 13:08:13 +08:00
64830c93b7 ddl: Use etcd to synchronize schema version (#3322) 2017-05-27 16:42:19 +08:00
76ece8ec1f ddl: add support first/after for modify/change column (#3215) 2017-05-24 09:58:30 +08:00
0d6490efc4 *: interpret timestamp datum based on session's time_zone (#3167)
1. FromPackedUint don't consider time_zone any more, moved to Unflatten
2. use session's time_zone instead of time.Local
3. add a time.Location parameter to some Encode/Decode functions in tablecodec
2017-05-08 11:58:55 +08:00
fcc34b7ba7 ddl: correct comments mistake. (#3119) 2017-04-25 11:53:15 +08:00
bbad497023 ddl, statistics: update the stats table after creating/ droping column. (#3061) 2017-04-21 11:51:06 +08:00
abe4413bb4 ddl: remove redundant update version (#2786) 2017-03-08 09:01:16 +08:00