diff options
author | serg@serg.mylan <> | 2004-07-20 15:34:57 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2004-07-20 15:34:57 +0200 |
commit | 8d080cbcfac2ce4e0947f75b21b11a39576c254e (patch) | |
tree | 25cbffcf973dd7f352a4bcdc885aa172cb20a57a /sql/item_subselect.h | |
parent | 14853c80d6c61be1f37e5026ff632ecddde87b64 (diff) | |
parent | 27f9f14e1d8cded005f81982ac3d0bb3ce4bc48f (diff) | |
download | mariadb-git-8d080cbcfac2ce4e0947f75b21b11a39576c254e.tar.gz |
manual merge
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r-- | sql/item_subselect.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h index d50688e0b58..90c301c6571 100644 --- a/sql/item_subselect.h +++ b/sql/item_subselect.h @@ -47,7 +47,7 @@ protected: /* old engine if engine was changed */ subselect_engine *old_engine; /* cache of used external tables */ - table_map used_tables_cache; + table_map used_tables_cache; /* allowed number of columns (1 for single value subqueries) */ uint max_columns; /* work with 'substitution' */ @@ -69,17 +69,17 @@ public: virtual subs_type substype() { return UNKNOWN_SUBS; } - /* + /* We need this method, because some compilers do not allow 'this' pointer in constructor initialization list, but we need pass pointer to subselect Item class to select_subselect classes constructor. */ - virtual void init (st_select_lex *select_lex, + virtual void init (st_select_lex *select_lex, select_subselect *result); ~Item_subselect(); void cleanup(); - virtual void reset() + virtual void reset() { null_value= 1; } @@ -276,7 +276,7 @@ public: } virtual ~subselect_engine() {}; // to satisfy compiler virtual void cleanup()= 0; - + // set_thd should be called before prepare() void set_thd(THD *thd_arg) { thd= thd_arg; } THD * get_thd() { return thd; } |