diff options
author | Alexander Barkov <bar@mariadb.com> | 2018-11-09 17:08:13 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2018-11-09 17:08:43 +0400 |
commit | def2ac209a0c2644ee068abe05bd26a81aeb40c0 (patch) | |
tree | a2ab7906ce14740434252cf745d9c10cc760d315 /sql/sp_pcontext.h | |
parent | aa4772e75b80627a75e01bb8cdb1a55dd3547426 (diff) | |
download | mariadb-git-def2ac209a0c2644ee068abe05bd26a81aeb40c0.tar.gz |
MDEV-17652 Add sql_mode specific tokens for some keywords
Diffstat (limited to 'sql/sp_pcontext.h')
-rw-r--r-- | sql/sp_pcontext.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sql/sp_pcontext.h b/sql/sp_pcontext.h index e30af3fcde5..e607315cdaf 100644 --- a/sql/sp_pcontext.h +++ b/sql/sp_pcontext.h @@ -592,13 +592,7 @@ public: bool current_scope_only) const; sp_condition_value * - find_declared_or_predefined_condition(const LEX_CSTRING *name) const - { - sp_condition_value *p= find_condition(name, false); - if (p) - return p; - return find_predefined_condition(name); - } + find_declared_or_predefined_condition(THD *thd, const LEX_CSTRING *name) const; bool declare_condition(THD *thd, const LEX_CSTRING *name, sp_condition_value *val) |