From 403b4741e9157c75523863e306eb98a0bac2dc56 Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Wed, 28 Aug 2024 00:01:54 -0400 Subject: [PATCH] Remove unintentional change Signed-off-by: Matt Lord --- go/vt/sidecardb/schema/vreplication/schema_version.sql | 2 +- go/vt/sidecardb/sidecardb_test.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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))) }) } }