diff --git a/mysql-test/r/view.result b/mysql-test/r/view.result index f9843d40f07..3d4c8e1ae6f 100644 --- a/mysql-test/r/view.result +++ b/mysql-test/r/view.result @@ -1956,6 +1956,7 @@ f3 f1 2 1 3 2 1 3 +drop view v1; drop table t1; CREATE TABLE t1 (f1 char) ENGINE = innodb; INSERT INTO t1 VALUES ('A'); diff --git a/mysql-test/t/view.test b/mysql-test/t/view.test index 6b10edc7abd..956c705de74 100644 --- a/mysql-test/t/view.test +++ b/mysql-test/t/view.test @@ -1796,6 +1796,7 @@ create table t1 (f1 int, f2 int); create view v1 as select f1 as f3, f2 as f1 from t1; insert into t1 values (1,3),(2,1),(3,2); select * from v1 order by f1; +drop view v1; drop table t1; #