Browse Source

Merge pull request #4785 from ghalliday/issue9905b

HPCC-9905 Remove unnecessary code from the master branch

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 11 years ago
parent
commit
2d3e8bff9a
1 changed files with 0 additions and 14 deletions
  1. 0 14
      ecl/hqlcpp/hqlttcpp.cpp

+ 0 - 14
ecl/hqlcpp/hqlttcpp.cpp

@@ -8704,20 +8704,6 @@ IHqlExpression * HqlLinkedChildRowTransformer::createTransformedBody(IHqlExpress
     case no_embedbody:
         //Don't change the type of an embed body - otherwise result it will become link counted when not expected.
         return LINK(expr);
-    case no_select:
-        {
-            OwnedHqlExpr newDs = transform(expr->queryChild(0));
-            IHqlExpression * record = newDs->queryRecord();
-            IHqlExpression * field = expr->queryChild(1);
-            LinkedHqlExpr newField;
-            if (record)
-                newField.setown(record->querySimpleScope()->lookupSymbol(field->queryId()));
-            HqlExprArray children;
-            children.append(*LINK(newDs));
-            if (newField)
-                children.append(*newField.getClear());
-            return completeTransform(expr, children);
-        }
     }
     return QuickHqlTransformer::createTransformedBody(expr);
 }