mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fix for bug#5508 after Sanja's review
mysql-test/r/view.result: test results for rename table view1 to view2 mysql-test/t/view.test: tests for rename table view1 to view2 sql/share/errmsg.txt: added new errormessage (schema change not allowed in rename table view) sql/sql_rename.cc: added support for renaming views sql/sql_view.cc: added new function mysql_rename_view sql/sql_view.h: added prototype mysql_rename_view
This commit is contained in:
@@ -34,6 +34,7 @@ int view_checksum(THD *thd, TABLE_LIST *view);
|
||||
extern TYPELIB updatable_views_with_limit_typelib;
|
||||
|
||||
bool check_duplicate_names(List<Item>& item_list, bool gen_unique_view_names);
|
||||
bool mysql_rename_view(THD *thd, const char *new_name, TABLE_LIST *view);
|
||||
|
||||
#define VIEW_ANY_ACL (SELECT_ACL | UPDATE_ACL | INSERT_ACL | DELETE_ACL)
|
||||
|
||||
|
Reference in New Issue
Block a user