Skip to content

Commit

Permalink
Merge branch 'release-v0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
wentaojin committed Jul 25, 2024
2 parents bc3755a + d1c53a4 commit 0762645
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions database/mysql/data_compare.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,8 @@ func (d *Database) GetDatabaseTableRandomValues(schemaNameS, tableNameS string,
columnNames = append(columnNames, fmt.Sprintf("`%s`", col))
if !strings.EqualFold(collations[i], "") {
columnOrders = append(columnOrders, fmt.Sprintf("`%s` COLLATE '%s'", col, collations[i]))
} else {
columnOrders = append(columnOrders, fmt.Sprintf("`%s`", col))
}
}

Expand Down

0 comments on commit 0762645

Please sign in to comment.