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",