Commit Graph

21 Commits

Author SHA1 Message Date
33a961decf ddl: fix canceling model.ActionRebaseAutoID and model.ActionShardRowID ddl jobs (#9226) 2019-02-18 11:34:13 +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
42675d97fb ddl: adjust the structure of ddl (#6449) 2018-06-14 17:13:50 +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
6a8225787f *: update job state name (#4818) 2017-10-19 14:44:57 +08: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
abe4413bb4 ddl: remove redundant update version (#2786) 2017-03-08 09:01:16 +08:00
217c26bd0b *: Support the statement of rename table (#2444) 2017-01-15 00:58:10 +08:00
6bc6f7e98b *: Add the field of history information in job structure (#2046) 2017-01-05 16:34:39 +08:00
99b3465c1e ddl: allocate column ID and index ID in TableInfo. (#2205) 2016-12-09 12:31:27 +08:00
ea894e8b77 *: Add a function GenByArgs for Error (#2033)
*: Add a function GenByArgs for Error
2016-11-27 13:18:43 +08:00
3b491f11bc ddl: Update error information and add tests (#1941) 2016-11-04 10:45:53 +08:00
b4e3e58693 *: Clean up (#1928)
* ddl: remove useless code, add and update comments
2016-11-03 11:40:14 +08:00
29fd1250ea drop foreign key that does not exist error (#1874) 2016-10-28 13:25:32 +08:00
b80ba788ca ddl: Add dbInfo and tblInfo in some operations of DDL (#1870) 2016-10-26 16:10:43 +08:00
d04dea2c57 *: use schema diff to reduce memory allocation (#1858)
When schema version has changed, we don't need to reload all schemas, only
modified table need to be reloaded, this will reduce the pressure on Go garbage collector.

Also removed used map in *inforSchema.
2016-10-24 15:17:44 +08:00
64e181286a ddl: Add table infomation and schema version to history job (#1857) 2016-10-24 14:58:17 +08:00
e742def024 add foreign key on update and on delete support (#1152)
* add foreign key on update and on delete support
2016-04-27 19:44:00 +08:00