From 4120f99d4cf7a63c88410aa1267d449a0358f983 Mon Sep 17 00:00:00 2001 From: Alex Charis Date: Thu, 3 Jun 2021 21:14:36 +0000 Subject: [PATCH] remove duplicate ReadMigrations, fixing build Signed-off-by: Alex Charis --- go/test/endtoend/onlineddl/vtgate_util.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/go/test/endtoend/onlineddl/vtgate_util.go b/go/test/endtoend/onlineddl/vtgate_util.go index 7d91e1e1e9c..53a4f84a37f 100644 --- a/go/test/endtoend/onlineddl/vtgate_util.go +++ b/go/test/endtoend/onlineddl/vtgate_util.go @@ -113,16 +113,6 @@ func CheckCancelAllMigrations(t *testing.T, vtParams *mysql.ConnParams, expectCo assert.Equal(t, expectCount, int(r.RowsAffected)) } -// ReadMigrations reads migration entries -func ReadMigrations(t *testing.T, vtParams *mysql.ConnParams, like string) *sqltypes.Result { - query, err := sqlparser.ParseAndBind("show vitess_migrations like %a", - sqltypes.StringBindVariable(like), - ) - require.NoError(t, err) - - return VtgateExecQuery(t, vtParams, query, "") -} - // CheckMigrationStatus verifies that the migration indicated by given UUID has the given expected status func CheckMigrationStatus(t *testing.T, vtParams *mysql.ConnParams, shards []cluster.Shard, uuid string, expectStatuses ...schema.OnlineDDLStatus) { query, err := sqlparser.ParseAndBind("show vitess_migrations like %a",