1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

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.
This commit is contained in:
Dmitry Lenev
2010-05-30 11:48:22 +04:00
parent d99aeb19fb
commit c4b2cf2da5
5 changed files with 5 additions and 1 deletions

View File

@@ -298,7 +298,7 @@ RENAME TABLE v1 TO v2;
# RENAME VIEW is not available even when we try it via rename table.
--error ER_PARSE_ERROR
RENAME VIEW v2 TO v1;
#--error ER_WRONG_OBJECT
--error ER_WRONG_OBJECT
ALTER TABLE v2 RENAME AS v1;
--error ER_PARSE_ERROR
ALTER VIEW v1 RENAME AS v2;