summaryrefslogtreecommitdiff
path: root/mysql-test/suite/funcs_1/r/ndb_views.result
diff options
context:
space:
mode:
authorDmitry Lenev <dlenev@mysql.com>2010-05-30 11:48:22 +0400
committerDmitry Lenev <dlenev@mysql.com>2010-05-30 11:48:22 +0400
commitef9aaa8e2e49c6be052efc1c3facfdb743132753 (patch)
treed404d9f4cc6139299ad91820a2d2d5853ee4eef9 /mysql-test/suite/funcs_1/r/ndb_views.result
parent7e63d164362b968ae86f42dccf47f455327f6e01 (diff)
downloadmariadb-git-ef9aaa8e2e49c6be052efc1c3facfdb743132753.tar.gz
Follow-up for patch that addresses bug #53976 "ALTER TABLE
RENAME is allowed on views (not documented, broken)". Adjusted test cases in funcs_1 suite after removing support of ALTER TABLE RENAME for views.
Diffstat (limited to 'mysql-test/suite/funcs_1/r/ndb_views.result')
-rw-r--r--mysql-test/suite/funcs_1/r/ndb_views.result1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/suite/funcs_1/r/ndb_views.result b/mysql-test/suite/funcs_1/r/ndb_views.result
index 10cb7613f47..6c5a10845a0 100644
--- a/mysql-test/suite/funcs_1/r/ndb_views.result
+++ b/mysql-test/suite/funcs_1/r/ndb_views.result
@@ -3521,6 +3521,7 @@ RENAME TABLE v1 TO v2;
RENAME VIEW v2 TO v1;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VIEW v2 TO v1' at line 1
ALTER TABLE v2 RENAME AS v1;
+ERROR HY000: 'test.v2' is not BASE TABLE
ALTER VIEW v1 RENAME AS v2;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RENAME AS v2' at line 1
DROP TABLE IF EXISTS t1, t2 ;