diff options
Diffstat (limited to 'sql/item_subselect.cc')
-rw-r--r-- | sql/item_subselect.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc index fd73590d3f5..1b2a4d66c06 100644 --- a/sql/item_subselect.cc +++ b/sql/item_subselect.cc @@ -31,10 +31,6 @@ #include "mysql_priv.h" #include "sql_select.h" -inline Item * and_items(Item* cond, Item *item) -{ - return (cond? (new Item_cond_and(cond, item)) : item); -} Item_subselect::Item_subselect(): Item_result_field(), value_assigned(0), thd(0), substitution(0), @@ -1899,7 +1895,7 @@ Item_in_subselect::select_in_like_transformer(JOIN *join, Comp_creator *func) object, but we can't know it here, but here we need address correct reference on left expresion. - //psergey: he means confluent cases like "... IN (SELECT 1)" + //psergey: he means degenerate cases like "... IN (SELECT 1)" */ if (!optimizer) { |