summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2003-07-02 01:45:22 +0300
committerbell@sanja.is.com.ua <>2003-07-02 01:45:22 +0300
commit5eaaf8e732b860195f0ffdf3f82d2064ef171b84 (patch)
treea15fd9ce191ac8165d991ba6d62e349923070337 /sql/item.h
parent100a101ab6d7c49e73a3fb0a81bc8155011ab1c7 (diff)
downloadmariadb-git-5eaaf8e732b860195f0ffdf3f82d2064ef171b84.tar.gz
after review changes (SCRUM)
removed outer resolving flag (because of movingtransformation after fix_fields)
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sql/item.h b/sql/item.h
index f5f04b7eb96..7220db0cd5e 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -188,8 +188,6 @@ public:
bool binary() const
{ return charset()->state & MY_CS_BINSORT ? 1 : 0 ; }
- virtual void set_outer_resolving() {}
-
// Row emulation
virtual uint cols() { return 1; }
virtual Item* el(uint i) { return this; }
@@ -210,16 +208,14 @@ public:
const char *table_name;
const char *field_name;
st_select_lex *depended_from;
- bool outer_resolving; /* used for items from reduced subselect */
Item_ident(const char *db_name_par,const char *table_name_par,
const char *field_name_par)
:db_name(db_name_par), table_name(table_name_par),
- field_name(field_name_par), depended_from(0), outer_resolving(0)
+ field_name(field_name_par), depended_from(0)
{ name = (char*) field_name_par; }
// Constructor used by Item_field & Item_ref (see Item comment)
Item_ident(THD *thd, Item_ident &item);
const char *full_name() const;
- void set_outer_resolving() { outer_resolving= 1; }
};
@@ -825,7 +821,6 @@ public:
enum Type type() const { return DEFAULT_VALUE_ITEM; }
bool eq(const Item *item, bool binary_cmp) const;
bool fix_fields(THD *, struct st_table_list *, Item **);
- void set_outer_resolving() { arg->set_outer_resolving(); }
void print(String *str);
virtual bool basic_const_item() const { return true; }
int save_in_field(Field *field, bool no_conversions)
@@ -848,7 +843,6 @@ public:
Item_field((const char *)NULL, (const char *)NULL, (const char *)NULL), arg(a) {}
bool eq(const Item *item, bool binary_cmp) const;
bool fix_fields(THD *, struct st_table_list *, Item **);
- void set_outer_resolving() { arg->set_outer_resolving(); }
void print(String *str);
virtual bool basic_const_item() const { return true; }
int save_in_field(Field *field, bool no_conversions)