diff --git a/go/vt/sidecardb/schema/vreplication/schema_version.sql b/go/vt/sidecardb/schema/vreplication/schema_version.sql index ac28f036eec..2b7cbc08dec 100644 --- a/go/vt/sidecardb/schema/vreplication/schema_version.sql +++ b/go/vt/sidecardb/schema/vreplication/schema_version.sql @@ -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 diff --git a/go/vt/sidecardb/sidecardb_test.go b/go/vt/sidecardb/sidecardb_test.go index d817f319347..d96bac2ae5e 100644 --- a/go/vt/sidecardb/sidecardb_test.go +++ b/go/vt/sidecardb/sidecardb_test.go @@ -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))) }) } }