Skip to content

Commit

Permalink
Remove unused vschemaTables variable in tests
Browse files Browse the repository at this point in the history
Signed-off-by: David Piegza <697113+davidpiegza@users.noreply.github.com>
  • Loading branch information
davidpiegza committed Aug 29, 2023
1 parent 2340a4d commit 287ee17
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions go/vt/vtgate/executor_vschema_ddl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -447,13 +447,6 @@ func TestExecutorDropAutoIncDDL(t *testing.T) {
executor, _, _, _ := createExecutorEnv()
ks := KsTestUnsharded

vschema := executor.vm.GetCurrentSrvVschema()

var vschemaTables []string
for t := range vschema.Keyspaces[ks].Tables {
vschemaTables = append(vschemaTables, t)
}

session := NewSafeSession(&vtgatepb.Session{TargetString: ks})

stmt := "alter vschema add table test_table"
Expand Down

0 comments on commit 287ee17

Please sign in to comment.