diff options
author | Vicențiu Ciorbaru <cvicentiu@gmail.com> | 2017-12-02 22:30:48 +0200 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2017-12-04 13:22:29 +0200 |
commit | 7448b01bb5a78137786dde64a32c2d1c1098e89d (patch) | |
tree | ba78634e16a43caed679b3ff930534d1072f3703 /sql/item.h | |
parent | c12d1ed48ee0708b85fbdbe149d15f6fea2c1e31 (diff) | |
download | mariadb-git-7448b01bb5a78137786dde64a32c2d1c1098e89d.tar.gz |
Remove the side effect of setting m_sp from Item_sp::init_result_field
Item_sp::init_result_field no longer takes sp_head* parameter. It
expects the m_sp member to be already set to something valid.
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item.h b/sql/item.h index 574680bc86d..cbbfac92bc1 100644 --- a/sql/item.h +++ b/sql/item.h @@ -4496,8 +4496,8 @@ public: bool sp_check_access(THD *thd); bool execute(THD *thd, bool *null_value, Item **args, uint arg_count); bool execute_impl(THD *thd, Item **args, uint arg_count); - bool init_result_field(THD *thd, sp_head *sp, uint max_length, - uint maybe_null, bool *null_value, LEX_CSTRING *name); + bool init_result_field(THD *thd, uint max_length, uint maybe_null, + bool *null_value, LEX_CSTRING *name); }; class Item_ref :public Item_ident |