瀏覽代碼

HPCC-11563 Don't set RefFileNotFound for ReferencedFiles in packagemap

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Anthony Fishbeck 11 年之前
父節點
當前提交
ce8ca2af44
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      common/workunit/referencedfilelist.cpp

+ 6 - 2
common/workunit/referencedfilelist.cpp

@@ -289,7 +289,9 @@ void ReferencedFile::processRemoteFileTree(IPropertyTree *tree, const char *srcC
 
 void ReferencedFile::resolveLocal(const char *dstCluster, const char *srcCluster, IUserDescriptor *user, StringArray *subfiles)
 {
-    if (noDfsResolution || (flags & RefFileInPackage))
+    if (flags & RefFileInPackage)
+        return;
+    if (noDfsResolution)
     {
         flags |= RefFileNotFound;
         return;
@@ -335,7 +337,9 @@ void ReferencedFile::resolveRemote(IUserDescriptor *user, INode *remote, const c
 {
     if ((flags & RefFileForeign) && !resolveForeign)
         return;
-    if (noDfsResolution || (flags & RefFileInPackage))
+    if (flags & RefFileInPackage)
+        return;
+    if (noDfsResolution)
     {
         flags |= RefFileNotFound;
         return;