Преглед изворни кода

Merge pull request #3349 from jakesmith/filterproject-cq

HPCC-7831 filterprojects fail in child queries

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday пре 12 година
родитељ
комит
e76f4f830f
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      thorlcr/graph/thgraph.cpp

+ 2 - 1
thorlcr/graph/thgraph.cpp

@@ -908,6 +908,7 @@ bool isGlobalActivity(CGraphElementBase &container)
 // always local
         case TAKcountdisk:
         case TAKfilter:
+        case TAKfilterproject:
         case TAKsplit:
         case TAKpipewrite:
         case TAKdegroup:
@@ -1797,7 +1798,7 @@ StringBuffer &getGlobals(CGraphBase &graph, StringBuffer &str)
 
             ThorActivityKind kind = e.getKind();
             str.append(activityKindStr(kind));
-            str.append("(").append(kind).append(")");
+            str.append("(").append(e.queryId()).append(")");
         }
     }
     if (!first)