Skip to content

Commit

Permalink
*: mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
xhebox authored Jan 17, 2022
1 parent 6b27d29 commit 61ec68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddl/partition.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (w *worker) onAddTablePartition(d *ddlCtx, t *meta.Meta, job *model.Job) (v
}

if tblInfo.TiFlashReplica != nil && tblInfo.TiFlashReplica.Count > 0 {
return , errors.Trace(ErrIncompatibleTiFlashAndPlacement)
return ver, errors.Trace(ErrIncompatibleTiFlashAndPlacement)
}

// In order to skip maintaining the state check in partitionDefinition, TiDB use addingDefinition instead of state field.
Expand Down

0 comments on commit 61ec68b

Please sign in to comment.