From 62ce24cf9cd936361c246f15ae990f1e22beec16 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 7 Oct 2004 12:13:42 +0300 Subject: sql_updatable_view_key replaced with updatable_views_with_limit now default behaviour do not prevent any updates of view. Also updating VIEWs of queries without LIMIT clause will not be checked at all (there will not be even warning) (changes according to discussion on last dev-conf) mysql-test/r/view.result: sql_updatable_view_key replaced with updatable_views_with_limit, default behaviour changed mysql-test/t/view.test: sql_updatable_view_key replaced with updatable_views_with_limit, default behaviour changed sql/mysqld.cc: sql_updatable_view_key replaced with updatable_views_with_limit, default behaviour changed sql/set_var.cc: sql_updatable_view_key replaced with updatable_views_with_limit, default behaviour changed sql/sql_class.h: sql_updatable_view_key replaced with updatable_views_with_limit, default behaviour changed sql/sql_view.cc: sql_updatable_view_key replaced with updatable_views_with_limit, default behaviour changed sql/sql_view.h: sql_updatable_view_key replaced with updatable_views_with_limit, default behaviour changed --- sql/sql_view.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_view.h') diff --git a/sql/sql_view.h b/sql/sql_view.h index 431f82a5bb8..538f548d97b 100644 --- a/sql/sql_view.h +++ b/sql/sql_view.h @@ -29,7 +29,7 @@ void insert_view_fields(List *list, TABLE_LIST *view); frm_type_enum mysql_frm_type(char *path); -extern TYPELIB sql_updatable_view_key_typelib; +extern TYPELIB updatable_views_with_limit_typelib; #define VIEW_ANY_ACL (SELECT_ACL | UPDATE_ACL | INSERT_ACL | DELETE_ACL) -- cgit v1.2.1