summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-08-26 23:17:34 +0400
committerAlexander Barkov <bar@mariadb.org>2015-08-26 23:17:34 +0400
commitba340d8c47657774ba6d69bfc918dbebaaef6086 (patch)
tree9afd0c6f9a4a1306a62096b5f20f12b98d29599d
parent1b6b44b6b52e9f86bb32669a68bd7c067bc63d49 (diff)
downloadmariadb-git-ba340d8c47657774ba6d69bfc918dbebaaef6086.tar.gz
Making Item_field::can_be_substituted_to_equal_item() private.
-rw-r--r--sql/item.h4
1 files changed, 2 insertions, 2 deletions
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);