소스 검색

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

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 10 년 전
부모
커밋
ec02dd10e1
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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
         {