diff options
author | Bjorn Munch <bjorn.munch@oracle.com> | 2010-11-14 12:23:51 +0100 |
---|---|---|
committer | Bjorn Munch <bjorn.munch@oracle.com> | 2010-11-14 12:23:51 +0100 |
commit | dbbb506f4226e30255b8f4463163d4f6d39400fc (patch) | |
tree | 5124a2f3726a037c771699c00f1c6e132b9653db /sql/sql_lex.h | |
parent | 866cec611a369be344bafed0d4691ad6b83e4086 (diff) | |
parent | ec830356d78a8ca99a6397e95f3cf70493556257 (diff) | |
download | mariadb-git-dbbb506f4226e30255b8f4463163d4f6d39400fc.tar.gz |
merge from 5.1 up to rev 3471
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 7403bb5a1a4..9131cec9d04 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -1817,6 +1817,23 @@ typedef struct st_lex : public Query_tables_list */ bool protect_against_global_read_lock; + /* + The following three variables are used in 'CREATE TABLE IF NOT EXISTS ... + SELECT' statement. They are used to binlog the statement. + + create_select_start_with_brace will be set if there is a '(' before + the first SELECT clause + + create_select_pos records the relative position of the SELECT clause + in the whole statement. + + create_select_in_comment will be set if SELECT keyword is in conditional + comment. + */ + bool create_select_start_with_brace; + uint create_select_pos; + bool create_select_in_comment; + st_lex(); virtual ~st_lex() |