summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-09-14 09:40:57 +0300
committerunknown <bell@sanja.is.com.ua>2003-09-14 09:40:57 +0300
commite3b11b1de71c6b975440c39022cc6da370ddc57a (patch)
tree4e8998f81b215aeef78c383cccc792965ff6b411 /sql/item_subselect.h
parentdf8b036d029a049ba40ba404142bbee3fd8cf13d (diff)
downloadmariadb-git-e3b11b1de71c6b975440c39022cc6da370ddc57a.tar.gz
renamed join_types (as was suggested by Peter Gulutzan)
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index 174e8809688..a17715c57c1 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -183,8 +183,8 @@ public:
void fix_length_and_dec();
friend class select_exists_subselect;
- friend class subselect_simplein_engine;
- friend class subselect_indexin_engine;
+ friend class subselect_uniquesubquery_engine;
+ friend class subselect_indexsubquery_engine;
};
/* IN subselect */
@@ -227,7 +227,7 @@ public:
friend class Item_ref_null_helper;
friend class Item_is_not_null_test;
- friend class subselect_indexin_engine;
+ friend class subselect_indexsubquery_engine;
};
/* ALL/ANY/SOME subselect */
@@ -313,15 +313,15 @@ public:
};
struct st_join_table;
-class subselect_simplein_engine: public subselect_engine
+class subselect_uniquesubquery_engine: public subselect_engine
{
protected:
st_join_table *tab;
Item *cond;
public:
- subselect_simplein_engine(THD *thd, st_join_table *tab_arg,
- Item_subselect *subs, Item *where)
+ subselect_uniquesubquery_engine(THD *thd, st_join_table *tab_arg,
+ Item_subselect *subs, Item *where)
:subselect_engine(thd, subs, 0), tab(tab_arg), cond(where)
{}
@@ -335,14 +335,14 @@ public:
static int end_exec(TABLE *table);
};
-class subselect_indexin_engine: public subselect_simplein_engine
+class subselect_indexsubquery_engine: public subselect_uniquesubquery_engine
{
bool check_null;
public:
- subselect_indexin_engine(THD *thd, st_join_table *tab_arg,
- Item_subselect *subs, Item *where,
- bool chk_null)
- :subselect_simplein_engine(thd, tab_arg, subs, where),
+ subselect_indexsubquery_engine(THD *thd, st_join_table *tab_arg,
+ Item_subselect *subs, Item *where,
+ bool chk_null)
+ :subselect_uniquesubquery_engine(thd, tab_arg, subs, where),
check_null(chk_null)
{}
int exec();