summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <cvicentiu@gmail.com>2017-12-02 22:30:48 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2017-12-04 13:22:29 +0200
commit7448b01bb5a78137786dde64a32c2d1c1098e89d (patch)
treeba78634e16a43caed679b3ff930534d1072f3703 /sql/item.h
parentc12d1ed48ee0708b85fbdbe149d15f6fea2c1e31 (diff)
downloadmariadb-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.h4
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