Skip to content

Commit

Permalink
ddl: remove todo
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala committed Apr 17, 2018
1 parent 413cd0c commit 3075f3d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ddl/ddl_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,6 @@ func (d *ddl) getModifiableColumnJob(ctx sessionctx.Context, ident ast.Ident, or
// a new version TiDB builds the DDL job that doesn't be set the column's offset and state,
// and the old version TiDB is the DDL owner, it doesn't get offset and state from the store. Then it will encounter errors.
// So here we set offset and state to support the rolling upgrade.
// TODO: Remove the set offset and state operation.
Offset: col.Offset,
State: col.State,
OriginDefaultValue: col.OriginDefaultValue,
Expand Down

0 comments on commit 3075f3d

Please sign in to comment.