From 4c1615d97ff03d5474c42f2077015e36dfb6e3e3 Mon Sep 17 00:00:00 2001 From: tianjiqx Date: Tue, 16 Oct 2018 02:32:09 +0800 Subject: [PATCH] add unit test for drop view --- planner/core/preprocess_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/planner/core/preprocess_test.go b/planner/core/preprocess_test.go index 17deb8a09d48b..15b7bd0d8240e 100644 --- a/planner/core/preprocess_test.go +++ b/planner/core/preprocess_test.go @@ -194,6 +194,9 @@ func (s *testValidatorSuite) TestValidator(c *C) { {"select * from ( select 1 ) a, (select 2) b;", true, nil}, {"select * from (select * from ( select 1 ) a join (select 2) b) b join (select 3) a;", false, nil}, {"select * from (select 1 ) a , (select 2) b, (select * from (select 3) a join (select 4) b) c;", false, nil}, + + //issue 7833 + {"drop view if exists v;", true, nil}, } store, dom, err := newStoreWithBootstrap()