Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
tangenta committed Dec 29, 2022
1 parent f467e59 commit 9ace645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddl/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ func doReorgWorkForCreateIndex(w *worker, d *ddlCtx, t *meta.Meta, job *model.Jo
}
indexInfo.BackfillState = model.BackfillStateInapplicable // Prevent double-write on this index.
ver, err = updateVersionAndTableInfo(d, t, job, tbl.Meta(), true)
return true, ver, nil
return true, ver, err
default:
return false, 0, dbterror.ErrInvalidDDLState.GenWithStackByArgs("backfill", indexInfo.BackfillState)
}
Expand Down

0 comments on commit 9ace645

Please sign in to comment.