summaryrefslogtreecommitdiff
path: root/sql/sql_view.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-10-07 12:13:42 +0300
committerbell@sanja.is.com.ua <>2004-10-07 12:13:42 +0300
commitda5a55e3cdbec87507b996017a0c008ea7ad9e1b (patch)
treeed0fc9bd70db30223f4713a4e8fe182027748556 /sql/sql_view.h
parent3ef0b19cd374970fb2a3e6e963b779186a1a6fae (diff)
downloadmariadb-git-da5a55e3cdbec87507b996017a0c008ea7ad9e1b.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)
Diffstat (limited to 'sql/sql_view.h')
-rw-r--r--sql/sql_view.h2
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)