diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-11-16 14:33:28 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-11-16 14:33:28 +0400 |
commit | a0c7d3ff940600aa2d7cff067396ef6985f0bdc4 (patch) | |
tree | 3727d6b2c257a95b116c607bc9dacec5b3baeddf /sql/sp_head.h | |
parent | 1c3460843613c6e7ac28456c0f24085a8877e13f (diff) | |
download | mariadb-git-a0c7d3ff940600aa2d7cff067396ef6985f0bdc4.tar.gz |
MDEV-14415 Add Oracle-style FOR loop to sql_mode=DEFAULT
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r-- | sql/sp_head.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h index ac0f406f854..f8a819bbe94 100644 --- a/sql/sp_head.h +++ b/sql/sp_head.h @@ -1796,8 +1796,8 @@ class sp_instr_cfetch : public sp_instr public: - sp_instr_cfetch(uint ip, sp_pcontext *ctx, uint c) - : sp_instr(ip, ctx), m_cursor(c) + sp_instr_cfetch(uint ip, sp_pcontext *ctx, uint c, bool error_on_no_data) + : sp_instr(ip, ctx), m_cursor(c), m_error_on_no_data(error_on_no_data) { m_varlist.empty(); } @@ -1818,6 +1818,7 @@ private: uint m_cursor; List<sp_variable> m_varlist; + bool m_error_on_no_data; }; // class sp_instr_cfetch : public sp_instr |