summaryrefslogtreecommitdiff
path: root/mysql-test/t/view.test
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2017-03-26 22:30:43 +0300
committerAlexander Barkov <bar@mariadb.org>2017-04-07 18:22:06 +0400
commit470c3fd98d724fccbf96c049f2153bc1f5990915 (patch)
treee27efd43ad631df068472d72049cb99573cefd02 /mysql-test/t/view.test
parent17a87d606302b55d547104d7fe6c536c6c288a8b (diff)
downloadmariadb-git-470c3fd98d724fccbf96c049f2153bc1f5990915.tar.gz
Change error message when using DROP VIEW on a non existing view from
"Unknown table" to "Unknown view"
Diffstat (limited to 'mysql-test/t/view.test')
-rw-r--r--mysql-test/t/view.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/view.test b/mysql-test/t/view.test
index df5c7d3495d..137902c54f2 100644
--- a/mysql-test/t/view.test
+++ b/mysql-test/t/view.test
@@ -125,7 +125,7 @@ select * from v1;
select * from v2;
# try to drop nonexistent VIEW
--- error ER_BAD_TABLE_ERROR
+--error ER_UNKNOWN_VIEW
drop view v100;
# try to drop table with DROP VIEW
@@ -2782,7 +2782,7 @@ CREATE TABLE t1 (id INT);
CREATE VIEW v1 AS SELECT id FROM t1;
SHOW TABLES;
---error ER_BAD_TABLE_ERROR
+--error ER_UNKNOWN_VIEW
DROP VIEW v2,v1;
SHOW TABLES;