From 287ee171b55a1af7d7a4da095e2b882e198a65ad Mon Sep 17 00:00:00 2001 From: David Piegza <697113+davidpiegza@users.noreply.github.com> Date: Tue, 29 Aug 2023 13:19:10 +0000 Subject: [PATCH] Remove unused vschemaTables variable in tests Signed-off-by: David Piegza <697113+davidpiegza@users.noreply.github.com> --- go/vt/vtgate/executor_vschema_ddl_test.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/go/vt/vtgate/executor_vschema_ddl_test.go b/go/vt/vtgate/executor_vschema_ddl_test.go index 89e620533c1..e40cb723257 100644 --- a/go/vt/vtgate/executor_vschema_ddl_test.go +++ b/go/vt/vtgate/executor_vschema_ddl_test.go @@ -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"