diff options
author | bell@sanja.is.com.ua <> | 2003-01-30 14:35:07 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2003-01-30 14:35:07 +0200 |
commit | 5ed5dac01bebba79822714bffe4fb8b3c538bd90 (patch) | |
tree | 5b530ee7187eee79fb4cff2beb75c3246b0a89cd /sql/item_subselect.cc | |
parent | 0469dd4993387cce805bc7d52b8b6408183c9484 (diff) | |
download | mariadb-git-5ed5dac01bebba79822714bffe4fb8b3c538bd90.tar.gz |
cyclic reference test removed, becouse testing of Item::fixed field apply more strict limitation
Diffstat (limited to 'sql/item_subselect.cc')
-rw-r--r-- | sql/item_subselect.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc index 9a3019ece12..989a0a6183a 100644 --- a/sql/item_subselect.cc +++ b/sql/item_subselect.cc @@ -108,15 +108,6 @@ bool Item_subselect::fix_fields(THD *thd, TABLE_LIST *tables, Item **ref) return res; } -bool Item_subselect::check_loop(uint id) -{ - DBUG_ENTER("Item_subselect::check_loop"); - if (Item_result_field::check_loop(id)) - DBUG_RETURN(1); - - DBUG_RETURN(engine->check_loop(id)); -} - Item::Type Item_subselect::type() const { return SUBSELECT_ITEM; @@ -858,21 +849,6 @@ bool subselect_union_engine::uncacheable() return unit->uncacheable; } -bool subselect_single_select_engine::check_loop(uint id) -{ - DBUG_ENTER("subselect_single_select_engine::check_loop"); - DBUG_RETURN(join->check_loop(id)); -} - -bool subselect_union_engine::check_loop(uint id) -{ - DBUG_ENTER("subselect_union_engine::check_loop"); - for (SELECT_LEX *sl= unit->first_select(); sl; sl= sl->next_select()) - if (sl->join && sl->join->check_loop(id)) - DBUG_RETURN(1); - DBUG_RETURN(0); -} - void subselect_single_select_engine::exclude() { select_lex->master_unit()->exclude_level(); |