Browse Source

HPCC-11592 ecl-queries-copy should copy the snapshot attribute

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Anthony Fishbeck 11 years ago
parent
commit
49aca4e9ec
1 changed files with 2 additions and 0 deletions
  1. 2 0
      esp/services/ws_workunits/ws_workunitsQuerySets.cpp

+ 2 - 0
esp/services/ws_workunits/ws_workunitsQuerySets.cpp

@@ -1881,6 +1881,8 @@ bool CWsWorkunitsEx::onWUQuerysetCopyQuery(IEspContext &context, IEspWUQuerySetC
             queryTree->setProp("@comment", req.getComment());
         else if (srcInfo && srcInfo->getComment())
             queryTree->setProp("@comment", srcInfo->getComment());
+        if (srcInfo && srcInfo->getSnapshot())
+            queryTree->setProp("@snapshot", srcInfo->getSnapshot());
     }
     wu.clear();