summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-06-25 23:52:15 +0300
committerunknown <bell@sanja.is.com.ua>2003-06-25 23:52:15 +0300
commit16aaba706091a5130bff82ea0944d7024c93fdc3 (patch)
tree445a886058facd2b39f84374786fced29406978c /sql/item_subselect.h
parentfedda97360a4886d390b97f59e514ab9a732f604 (diff)
parent2534f837c177eda645ec45864b58fa5b44b1c083 (diff)
downloadmariadb-git-16aaba706091a5130bff82ea0944d7024c93fdc3.tar.gz
merged
sql/item.cc: Auto merged sql/item.h: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged sql/item_subselect.h: Auto merged sql/sql_derived.cc: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_union.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/table.h: Auto merged mysql-test/r/subselect.result: merging (wiil be fixed after building) sql/item_subselect.cc: merging sql/sql_select.cc: merging
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index 3e8dd0e02dc..1efdf23d1fc 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -36,6 +36,8 @@ class Item_subselect :public Item_result_field
my_bool engine_owner; /* Is this item owner of engine */
my_bool value_assigned; /* value already assigned to subselect */
protected:
+ /* thread handler, will be assigned in fix_fields only */
+ THD *thd;
/* substitution instead of subselect in case of optimization */
Item *substitution;
/* engine that perform execution of subselect (single select or union) */
@@ -83,6 +85,7 @@ public:
return null_value;
}
bool fix_fields(THD *thd, TABLE_LIST *tables, Item **ref);
+ bool exec();
virtual void fix_length_and_dec();
table_map used_tables() const;
void print(String *str)