From ba340d8c47657774ba6d69bfc918dbebaaef6086 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Wed, 26 Aug 2015 23:17:34 +0400 Subject: Making Item_field::can_be_substituted_to_equal_item() private. --- sql/item.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql/item.h') diff --git a/sql/item.h b/sql/item.h index 5db9b7851c7..f5fdb454e52 100644 --- a/sql/item.h +++ b/sql/item.h @@ -2295,6 +2295,8 @@ public: class Item_field :public Item_ident { + bool can_be_substituted_to_equal_item(const Context &ctx, + const Item_equal *item); protected: void set_field(Field *field); public: @@ -2431,8 +2433,6 @@ public: Item_equal *get_item_equal() { return item_equal; } void set_item_equal(Item_equal *item_eq) { item_equal= item_eq; } Item_equal *find_item_equal(COND_EQUAL *cond_equal); - bool can_be_substituted_to_equal_item(const Context &ctx, - const Item_equal *item); Item* propagate_equal_fields(THD *, const Context &, COND_EQUAL *); bool set_no_const_sub(uchar *arg); Item *replace_equal_field(THD *thd, uchar *arg); -- cgit v1.2.1