summaryrefslogtreecommitdiff
path: root/sql/sql_lex.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/sql_lex.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/sql_lex.h')
-rw-r--r--sql/sql_lex.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 6c91045189c..b3a0d6d2eea 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -733,6 +733,8 @@ typedef struct st_lex
TABLE_LIST **query_tables_last;
/* store original leaf_tables for INSERT SELECT and PS/SP */
TABLE_LIST *leaf_tables_insert;
+ st_lex_user *create_view_definer;
+ char *create_view_select_start;
List<key_part_spec> col_list;
List<key_part_spec> ref_list;
@@ -853,6 +855,10 @@ typedef struct st_lex
rexecuton
*/
bool empty_field_list_on_rset;
+ /*
+ view created to be run from definer (standard behaviour)
+ */
+ bool create_view_suid;
/* Characterstics of trigger being created */
st_trg_chistics trg_chistics;
/*