newline for limit

This commit is contained in:
Tim Vaillancourt 2022-12-29 00:35:54 +01:00
parent 1bc9c5104b
commit ae43e3f356

View File

@ -382,7 +382,8 @@ func buildUniqueKeyMinMaxValuesPreparedQuery(databaseName, tableName string, uni
from from
%s.%s %s.%s
force index (%s) force index (%s)
order by %s limit 1 order by %s
limit 1
`, `,
databaseName, tableName, strings.Join(uniqueKeyColumnNames, ", "), databaseName, tableName, strings.Join(uniqueKeyColumnNames, ", "),
databaseName, tableName, uniqueKey.Name, databaseName, tableName, uniqueKey.Name,