Commit ba340d8c authored by Alexander Barkov's avatar Alexander Barkov

Making Item_field::can_be_substituted_to_equal_item() private.

parent 1b6b44b6
...@@ -2295,6 +2295,8 @@ class Item_ident_for_show :public Item ...@@ -2295,6 +2295,8 @@ class Item_ident_for_show :public Item
class Item_field :public Item_ident class Item_field :public Item_ident
{ {
bool can_be_substituted_to_equal_item(const Context &ctx,
const Item_equal *item);
protected: protected:
void set_field(Field *field); void set_field(Field *field);
public: public:
...@@ -2431,8 +2433,6 @@ class Item_field :public Item_ident ...@@ -2431,8 +2433,6 @@ class Item_field :public Item_ident
Item_equal *get_item_equal() { return item_equal; } Item_equal *get_item_equal() { return item_equal; }
void set_item_equal(Item_equal *item_eq) { item_equal= item_eq; } void set_item_equal(Item_equal *item_eq) { item_equal= item_eq; }
Item_equal *find_item_equal(COND_EQUAL *cond_equal); 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 *); Item* propagate_equal_fields(THD *, const Context &, COND_EQUAL *);
bool set_no_const_sub(uchar *arg); bool set_no_const_sub(uchar *arg);
Item *replace_equal_field(THD *thd, uchar *arg); Item *replace_equal_field(THD *thd, uchar *arg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment