Skip to content

Commit

Permalink
Clean.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Jan 13, 2025
1 parent 8638a30 commit f755154
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/mysql/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,8 @@ func LoadTable(db *sql.DB, name string, sqlMode []string) (*Table, error) {
}

for _, col := range createTableResult.GetColumns() {
<<<<<<< HEAD
// TODO: Pass in sql mode
dataType, opts, err := schema.ParseColumnDataType(col.DataType, col.DefaultValue, nil)
=======
dataType, opts, err := schema.ParseColumnDataType(col.DataType, sqlMode)

Check failure on line 46 in lib/mysql/table.go

View workflow job for this annotation

GitHub Actions / MySQL

not enough arguments in call to schema.ParseColumnDataType

Check failure on line 46 in lib/mysql/table.go

View workflow job for this annotation

GitHub Actions / test

not enough arguments in call to schema.ParseColumnDataType

>>>>>>> master
if err != nil {
return nil, fmt.Errorf("failed to parse column data type: %w", err)
}
Expand Down

0 comments on commit f755154

Please sign in to comment.