Skip to content

Commit

Permalink
ddl: fix the bug of %!(MISSING) in error message (pingcap#2727)
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala authored and tiancaiamao committed Feb 25, 2017
1 parent f695f87 commit 66baa1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddl/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func checkTableNotExists(t *meta.Meta, job *model.Job, schemaID int64, tableName
if err != nil {
if terror.ErrorEqual(err, meta.ErrDBNotExists) {
job.State = model.JobCancelled
return errors.Trace(infoschema.ErrDatabaseNotExists)
return infoschema.ErrDatabaseNotExists.GenByArgs("")
}
return errors.Trace(err)
}
Expand Down

0 comments on commit 66baa1d

Please sign in to comment.