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

HPCC-20491 Implement emptyaction in Thor

Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
Jake Smith пре 4 година
родитељ
комит
ba4719b991
2 измењених фајлова са 4 додато и 0 уклоњено
  1. 1 0
      thorlcr/master/thactivitymaster.cpp
  2. 3 0
      thorlcr/slave/slave.cpp

+ 1 - 0
thorlcr/master/thactivitymaster.cpp

@@ -157,6 +157,7 @@ public:
             case TAKhttp_rowdataset:
             case TAKdistributed:
             case TAKtrace:
+            case TAKemptyaction:
                 ret = new CMasterActivity(this);
                 break;
             case TAKskipcatch:

+ 3 - 0
thorlcr/slave/slave.cpp

@@ -670,6 +670,9 @@ public:
             case TAKsimpleaction:
                 ret = createNullSlave(this);
                 break;
+            case TAKemptyaction:
+                ret = createNullSinkSlave(this);
+                break;
             case TAKtopn:
                 if (queryGrouped())
                     ret = createGroupedTopNSlave(this);