Skip to content

Commit 86d4e7a

Browse files
committed
[ga-format-pr] Run ./format_repo.sh to fix formatting
1 parent dc73671 commit 86d4e7a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

enginetest/queries/script_queries.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8769,7 +8769,7 @@ where
87698769
},
87708770
Assertions: []ScriptTestAssertion{
87718771
{
8772-
Query: "INSERT INTO shirts VALUES ('shirt1', 'x-small', 'red');",
8772+
Query: "INSERT INTO shirts VALUES ('shirt1', 'x-small', 'red');",
87738773
Expected: []sql.Row{
87748774
{types.NewOkResult(1)},
87758775
},
@@ -8781,7 +8781,7 @@ where
87818781
},
87828782
},
87838783
{
8784-
Name: "enum default null validation",
8784+
Name: "enum default null validation",
87858785
Dialect: "mysql",
87868786
SetUpScript: []string{
87878787
"SET sql_mode = 'STRICT_TRANS_TABLES';",

sql/types/enum.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ func (t EnumType) validateScrictMode(ctx context.Context) bool {
224224
return false
225225
}
226226

227-
228227
// Equals implements the Type interface.
229228
func (t EnumType) Equals(otherType sql.Type) bool {
230229
if ot, ok := otherType.(EnumType); ok && t.collation.Equals(ot.collation) && len(t.idxToVal) == len(ot.idxToVal) {

0 commit comments

Comments
 (0)