summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-12-28 01:01:05 +0200
committerunknown <bell@sanja.is.com.ua>2002-12-28 01:01:05 +0200
commit3ab0ddc294891f31b65f92fb7af265047db15d52 (patch)
tree6675c15be87ddec825795b1d2a861d6bc696f109 /sql/item_subselect.h
parent7388e9bd5b4604b351386e9d86888d94e4ac4d30 (diff)
downloadmariadb-git-3ab0ddc294891f31b65f92fb7af265047db15d52.tar.gz
postreview fix (SCRUM)
fixed layout sql/filesort.cc: fixed layout sql/gstream.cc: fixed layout sql/item.cc: postreview fix sql/item.h: postreview fix sql/item_cmpfunc.cc: postreview fix sql/item_cmpfunc.h: fixed layout sql/item_func.h: fixed layout sql/item_row.h: fixed layout sql/item_strfunc.cc: fixed layout sql/item_subselect.cc: postreview fix sql/item_subselect.h: postreview fix sql/nt_servc.cc: fixed layout sql/opt_range.cc: fixed layout sql/password.c: fixed layout sql/spatial.cc: fixed layout sql/sql_help.cc: fixed layout sql/sql_lex.cc: fixed layout sql/sql_olap.cc: fixed layout sql/sql_select.cc: fixed layout sql/sql_show.cc: fixed layout sql/sql_string.cc: fixed layout sql/sql_table.cc: fixed layout sql/stacktrace.c: fixed layout
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index e15748cbebf..cf7f612224a 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -71,7 +71,7 @@ public:
{
null_value= 1;
}
- virtual void select_transformer(st_select_lex_unit *unit);
+ virtual void select_transformer(THD *thd, st_select_lex_unit *unit);
bool assigned() { return value_assigned; }
void assigned(bool a) { value_assigned= a; }
enum Type type() const;
@@ -106,7 +106,7 @@ public:
decimals= item->decimals;
}
void reset();
- void select_transformer(st_select_lex_unit *unit);
+ void select_transformer(THD *thd, st_select_lex_unit *unit);
void store(uint i, Item* item);
double val();
longlong val_int ();
@@ -173,10 +173,11 @@ public:
null_value= 0;
was_null= 0;
}
- virtual void select_transformer(st_select_lex_unit *unit);
- void single_value_transformer(st_select_lex_unit *unit,
+ virtual void select_transformer(THD *thd, st_select_lex_unit *unit);
+ void single_value_transformer(THD *thd, st_select_lex_unit *unit,
Item *left_expr, compare_func_creator func);
- void row_value_transformer(st_select_lex_unit *unit, Item *left_expr);
+ void row_value_transformer(THD *thd, st_select_lex_unit *unit,
+ Item *left_expr);
longlong val_int();
double val();
String *val_str(String*);
@@ -195,7 +196,7 @@ public:
Item_allany_subselect(THD *thd, Item * left_expr, compare_func_creator f,
st_select_lex *select_lex);
Item_allany_subselect(Item_allany_subselect *item);
- virtual void select_transformer(st_select_lex_unit *unit);
+ virtual void select_transformer(THD *thd, st_select_lex_unit *unit);
};
class subselect_engine: public Sql_alloc