فهرست منبع

Merge pull request #8179 from richardkchapman/roxie-control-error

HPCC-14554 Roxie control:queries messages need to return errors

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 9 سال پیش
والد
کامیت
bcf7001e5e
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      roxie/ccd/ccdstate.cpp

+ 5 - 0
roxie/ccd/ccdstate.cpp

@@ -3028,6 +3028,11 @@ void mergeStats(IPropertyTree *s1, IPropertyTree *s2)
 
 void mergeQueries(IPropertyTree *dest, IPropertyTree *src)
 {
+    Owned<IPropertyTreeIterator> elems = src->getElements("Exception");
+    ForEach(*elems)
+    {
+        dest->addPropTree("Exception", LINK(&elems->query()));
+    }
     IPropertyTree *destQueries = ensurePTree(dest, "Queries");
     IPropertyTree *srcQueries = src->queryPropTree("Queries");
     if (!srcQueries)