Skip to content

Commit

Permalink
remove trace
Browse files Browse the repository at this point in the history
Signed-off-by: lihaowei <haoweili35@gmail.com>
  • Loading branch information
Howie59 committed May 12, 2021
1 parent 70fdfc9 commit 9edcba0
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 @@ -1478,7 +1478,7 @@ func checkAddPartitionTooManyPartitions(piDefs uint64) error {

func checkAddPartitionOnTemporaryMode(tbInfo *model.TableInfo) error {
if tbInfo.Partition != nil && tbInfo.TempTableType != model.TempTableNone {
return errors.Trace(ErrPartitionNoTemporary)
return ErrPartitionNoTemporary
}
return nil
}
Expand Down

0 comments on commit 9edcba0

Please sign in to comment.