summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2005-09-14 10:53:09 +0300
committerbell@sanja.is.com.ua <>2005-09-14 10:53:09 +0300
commit71ffbbf81b992da42497d30511eba37cee94c27e (patch)
tree08123647d73339668317e57476e15157b6777281 /sql/table.h
parentafb613bd8e750a99bd985d3553db007bbc801b54 (diff)
downloadmariadb-git-71ffbbf81b992da42497d30511eba37cee94c27e.tar.gz
part 1 (ver 2, postreview fix) of WL#2787
view definer information syntax/storage/replication fixed SOURCE field of .frm
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h
index d7c14e1938a..c41687bc5ce 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -539,10 +539,12 @@ typedef struct st_table_list
LEX_STRING view_db; /* saved view database */
LEX_STRING view_name; /* saved view name */
LEX_STRING timestamp; /* GMT time stamp of last operation */
+ st_lex_user definer; /* definer of view */
ulonglong file_version; /* version of file's field set */
ulonglong updatable_view; /* VIEW can be updated */
ulonglong revision; /* revision control number */
ulonglong algorithm; /* 0 any, 1 tmp tables , 2 merging */
+ ulonglong view_suid; /* view is suid (TRUE dy default) */
ulonglong with_check; /* WITH CHECK OPTION */
/*
effective value of WITH CHECK OPTION (differ for temporary table
@@ -578,6 +580,8 @@ typedef struct st_table_list
bool multitable_view; /* TRUE iff this is multitable view */
/* view where processed */
bool where_processed;
+ /* db part was not defined in table definition */
+ bool current_db_used;
/* FRMTYPE_ERROR if any type is acceptable */
enum frm_type_enum required_type;
char timestamp_buffer[20]; /* buffer for timestamp (19+1) */