Skip to content

Commit

Permalink
Remove unintentional change
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord committed Aug 28, 2024
1 parent 7f45f5a commit 403b474
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go/vt/sidecardb/schema/vreplication/schema_version.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ CREATE TABLE IF NOT EXISTS schema_version
ddl BLOB DEFAULT NULL,
schemax LONGBLOB NOT NULL,
PRIMARY KEY (id)
) ENGINE = InnoDB, CHARSET utf8mb4
) ENGINE = InnoDB
8 changes: 4 additions & 4 deletions go/vt/sidecardb/sidecardb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,11 @@ func TestTableSchemaDiff(t *testing.T) {
require.NoError(t, err)
stmt, err := si.env.Parser().Parse(diff)
require.NoError(t, err)
alterTable, ok := stmt.(*sqlparser.AlterTable)
alter, ok := stmt.(*sqlparser.AlterTable)
require.True(t, ok)
require.NotNil(t, alterTable)
t.Logf("alter table: %s", sqlparser.String(alterTable))
require.Equal(t, strings.ToLower(tc.expectedAlter), strings.ToLower(sqlparser.String(alterTable)))
require.NotNil(t, alter)
t.Logf("alter: %s", sqlparser.String(alter))
require.Equal(t, strings.ToLower(tc.expectedAlter), strings.ToLower(sqlparser.String(alter)))
})
}
}

0 comments on commit 403b474

Please sign in to comment.