diff options
author | unknown <bell@sanja.is.com.ua> | 2004-10-07 12:13:42 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-10-07 12:13:42 +0300 |
commit | 62ce24cf9cd936361c246f15ae990f1e22beec16 (patch) | |
tree | ed0fc9bd70db30223f4713a4e8fe182027748556 /sql/sql_view.h | |
parent | 640fefffa7996b5ee68761472fa3000e6e7abc88 (diff) | |
download | mariadb-git-62ce24cf9cd936361c246f15ae990f1e22beec16.tar.gz |
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
Diffstat (limited to 'sql/sql_view.h')
-rw-r--r-- | sql/sql_view.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<Item> *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) |