Skip to content

Commit

Permalink
Merge pull request #8258 from Shopify/unduplicate-readmigrations
Browse files Browse the repository at this point in the history
remove duplicate ReadMigrations, fixing build
  • Loading branch information
deepthi authored Jun 3, 2021
2 parents c953296 + 4120f99 commit 7dbdc74
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions go/test/endtoend/onlineddl/vtgate_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7dbdc74

Please sign in to comment.