浏览代码

HPCC-11419 Clean up some //MORE comments

Comments were left in code to indicate further investigation required to
determine if the code was correct.

That investigation has been done - the code was correct in two cases and
unused in a third.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 11 年之前
父节点
当前提交
948f9e6b76
共有 1 个文件被更改,包括 2 次插入14 次删除
  1. 2 14
      roxie/ccd/ccdstate.cpp

+ 2 - 14
roxie/ccd/ccdstate.cpp

@@ -2365,7 +2365,7 @@ private:
                 const char *id = control->queryProp("Query/@id");
                 if (id)
                 {
-                    Owned<IQueryFactory> f = getQuery(id, NULL, NULL, logctx); // MORE - slave too?
+                    Owned<IQueryFactory> f = getQuery(id, NULL, NULL, logctx);
                     if (f)
                     {
                         Owned<const IPropertyTree> stats = f->getQueryStats(from, to);
@@ -2397,7 +2397,7 @@ private:
                 {
                     if (stricmp(action, "listGraphNames") == 0)
                     {
-                        Owned<IQueryFactory> query = getQuery(id, NULL, NULL, logctx); // MORE - slave too?
+                        Owned<IQueryFactory> query = getQuery(id, NULL, NULL, logctx);
                         if (query)
                         {
                             reply.appendf("<Query id='%s'>\n", id);
@@ -2539,18 +2539,6 @@ private:
             {
                 steppingEnabled = control->getPropBool("@val", true);
             }
-            else if (stricmp(queryName, "control:suspend")==0)
-            {
-                StringBuffer id(control->queryProp("Query/@id"));
-                if (!id.length())
-                    badFormat();
-                {
-                    Owned<IQueryFactory> f = getQuery(id, NULL, NULL, logctx); // MORE - slave too?
-                    if (f)
-                        id.clear().append(f->queryQueryName());  // use the spelling of the query stored with the query factory
-                }
-                UNIMPLEMENTED;
-            }
             else if (stricmp(queryName, "control:suspendChannel")==0)
             {
                 if (control->hasProp("@channel") && control->hasProp("@suspend"))