浏览代码

Merge pull request #6269 from richardkchapman/HPCC-11419

HPCC-11419 Clean up some //MORE comments

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 11 年之前
父节点
当前提交
18529db442
共有 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"))