summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2010-10-04 15:42:16 +0300
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2010-10-04 15:42:16 +0300
commitdd2e3db48fce43f6249e1c23b3cf0f5057b41d4e (patch)
tree0b41fbab5c8e486500b5c53bbe818e62f6f583f2 /sql/sql_lex.h
parent99039957feba6543c7d52b6dcfc5b9f349ee0047 (diff)
parent774a5778d5db1062c26bd55d02a09c5d98a74525 (diff)
downloadmariadb-git-dd2e3db48fce43f6249e1c23b3cf0f5057b41d4e.tar.gz
merge
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index c6662501cf6..3a559433e2d 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -2357,10 +2357,20 @@ 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_offset is the offset to the beginning of the DELAYED
+ keyword in INSERT DELAYED statement. keyword_delayed_end_offset is the
+ offset to the character right after the DELAYED keyword.
*/
- const char *stmt_definition_begin;
+ union {
+ const char *stmt_definition_begin;
+ uint keyword_delayed_begin_offset;
+ };
- const char *stmt_definition_end;
+ union {
+ const char *stmt_definition_end;
+ uint keyword_delayed_end_offset;
+ };
/**
During name resolution search only in the table list given by