Skip to content

Commit

Permalink
fix error check
Browse files Browse the repository at this point in the history
  • Loading branch information
crazycs520 committed Jan 5, 2019
1 parent cdfe76c commit 89e85b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ddl/ddl_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,9 @@ func handleTableOptions(options []*ast.TableOption, tbInfo *model.TableInfo) err
}
}

setDefaultTableCharsetAndCollation(tbInfo)
if err := setDefaultTableCharsetAndCollation(tbInfo); err != nil {
log.Error(errors.ErrorStack(err))
}
return nil
}

Expand Down

0 comments on commit 89e85b8

Please sign in to comment.