Przeglądaj źródła

HPCC-12344 Give error if control:resetquerystats given invalid id

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 10 lat temu
rodzic
commit
ec02dd10e1
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      roxie/ccd/ccdstate.cpp

+ 2 - 0
roxie/ccd/ccdstate.cpp

@@ -1284,6 +1284,8 @@ public:
                         slaveManagers->item(channel)->resetQueryTimings(id, logctx);
                     }
             }
+            else
+                throw MakeStringException(ROXIE_UNKNOWN_QUERY, "Unknown query %s", queryId);
         }
         else
         {