summaryrefslogtreecommitdiff
path: root/mysql-test/main/view.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/view.test')
-rw-r--r--mysql-test/main/view.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/main/view.test b/mysql-test/main/view.test
index 987e96fc79d..11355c211ca 100644
--- a/mysql-test/main/view.test
+++ b/mysql-test/main/view.test
@@ -6437,7 +6437,9 @@ DROP TABLE t1;
--echo # MDEV-24314: create view with derived table without default database
--echo #
-drop database test;
+create database dummy;
+use dummy;
+drop database dummy;
create database db1;
create table db1.t1 (a int);
@@ -6460,7 +6462,6 @@ drop view db1.v1;
drop table db1.t1;
drop database db1;
-create database test;
use test;
--echo #