summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 121b7622597..1f4c9420102 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -2354,8 +2354,14 @@ struct LEX: public Query_tables_list
This pointer is required to add possibly omitted DEFINER-clause to the
DDL-statement before dumping it to the binlog.
+
+ keyword_delayed_begin points to the begin of the DELAYED keyword in
+ INSERT DELAYED statement.
*/
- const char *stmt_definition_begin;
+ union {
+ const char *stmt_definition_begin;
+ const char *keyword_delayed_begin;
+ };
const char *stmt_definition_end;