summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authoranozdrin@mysql.com <>2005-10-25 00:54:04 +0400
committeranozdrin@mysql.com <>2005-10-25 00:54:04 +0400
commit6105040ac46a33970119f863ce3bdf97704312d3 (patch)
treec838d6ebef039a3f3e64690c5775689686bbf606 /sql/sql_lex.h
parent0647d280b38fe6aac24de74245f855ff6a7c5768 (diff)
downloadmariadb-git-6105040ac46a33970119f863ce3bdf97704312d3.tar.gz
Fix for BUG#13095: Cannot create VIEWs in prepared statements
- allow CREATE VIEW as well as DROP VIEW to use in prepared statements; - fix CREATE VIEW implementation to make it work in prepared statements.
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 1e935c6dc2a..1bf346eafb1 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -738,6 +738,7 @@ typedef struct st_lex
/* store original leaf_tables for INSERT SELECT and PS/SP */
TABLE_LIST *leaf_tables_insert;
st_lex_user *create_view_definer;
+ char *create_view_start;
char *create_view_select_start;
List<key_part_spec> col_list;