diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-08-25 13:38:24 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-04-05 15:02:47 +0400 |
commit | 5721ea6ab7dc24a957ed06d0b4930fa3f679328b (patch) | |
tree | b20430a62bccf04b9606ff0bec4399a3a0b68570 /sql/sql_lex.h | |
parent | ca242117cedd1c10106b23385dca9b7781ef41f7 (diff) | |
download | mariadb-git-5721ea6ab7dc24a957ed06d0b4930fa3f679328b.tar.gz |
MDEV-10579 sql_mode=ORACLE: Triggers: Understand :NEW.c1 and :OLD.c1 instead of NEW.c1 and OLD.c1
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index b9cb4e35687..940a54ff009 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -3117,6 +3117,11 @@ public: const char *start_in_q, const char *end_in_q); + bool is_trigger_new_or_old_reference(const LEX_STRING name); + + Item *create_and_link_Item_trigger_field(THD *thd, const char *name, + bool new_row); + void sp_block_init(THD *thd, const LEX_STRING label); void sp_block_init(THD *thd) { |