Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
AilinKid committed Mar 18, 2020
1 parent f50b24a commit 9254493
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions table/column.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,6 @@ func GetColDefaultValue(ctx sessionctx.Context, col *model.ColumnInfo) (types.Da
if !col.DefaultIsExpr {
return getColDefaultValue(ctx, col, defaultValue)
}
// This is reserved for some cases like: `columnInfo` call `ToColumn` to be column, and then get its default value.
// In this case, the default expr node is not cached in column, but we still need to guarantee the correct result
// for default expr.
return getColDefaultExprValue(ctx, col, defaultValue.(string))
}

Expand Down

0 comments on commit 9254493

Please sign in to comment.