Browse Source

HPCC-14444 Copying DISTRIBUTED indexes

Copy "@local" attribute to target file.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
Attila Vamos 9 years ago
parent
commit
822dada3c6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      dali/ft/filecopy.cpp

+ 2 - 1
dali/ft/filecopy.cpp

@@ -3105,7 +3105,8 @@ void FileSprayer::updateTargetProperties()
                      (stricmp(aname,"@owner")==0)||
                      ((stricmp(aname,FArecordCount)==0)&&!gotrc) ||
                      ((stricmp(aname,"@blockCompressed")==0)&&copyCompressed) ||
-                     ((stricmp(aname,"@rowCompressed")==0)&&copyCompressed)
+                     ((stricmp(aname,"@rowCompressed")==0)&&copyCompressed)||
+                     (stricmp(aname,"@local")==0)
                      )
                     )
                     curProps.setProp(aname,aiter->queryValue());