summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r--sql/item_cmpfunc.cc25
1 files changed, 0 insertions, 25 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc
index f28268d0f88..1db123f2a47 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -925,16 +925,6 @@ void Item_func_case::set_outer_resolving()
Item_func::set_outer_resolving();
}
-bool Item_func_case::check_loop(uint id)
-{
- DBUG_ENTER("Item_func_case::check_loop");
- if (Item_func::check_loop(id))
- DBUG_RETURN(1);
-
- DBUG_RETURN((first_expr && first_expr->check_loop(id)) ||
- (else_expr && else_expr->check_loop(id)));
-}
-
void Item_func_case::update_used_tables()
{
Item_func::update_used_tables();
@@ -1486,21 +1476,6 @@ Item_cond::fix_fields(THD *thd, TABLE_LIST *tables, Item **ref)
return 0;
}
-bool Item_cond::check_loop(uint id)
-{
- DBUG_ENTER("Item_cond::check_loop");
- if (Item_func::check_loop(id))
- DBUG_RETURN(1);
- List_iterator<Item> li(list);
- Item *item;
- while ((item= li++))
- {
- if (item->check_loop(id))
- DBUG_RETURN(1);
- }
- DBUG_RETURN(0);
-}
-
void Item_cond::set_outer_resolving()
{
Item_func::set_outer_resolving();