Browse Source

Default resource useMpForDistribute on for thorlcr

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 13 years ago
parent
commit
055cf4cb1e
1 changed files with 1 additions and 5 deletions
  1. 1 5
      ecl/hqlcpp/hqlresource.cpp

+ 1 - 5
ecl/hqlcpp/hqlresource.cpp

@@ -1807,11 +1807,7 @@ EclResourcer::EclResourcer(IErrorReceiver * _errors, IConstWorkUnit * _wu, Clust
     }
     }
 
 
 
 
-#ifdef MPHASHDISTRIBUTE 
-    options.useMpForDistribute = true;
-#else
-    options.useMpForDistribute = false;
-#endif
+    options.useMpForDistribute = (targetClusterType == ThorLCRCluster);
     
     
     if (_translatorOptions.hasResourceUseMpForDistribute)
     if (_translatorOptions.hasResourceUseMpForDistribute)
         options.useMpForDistribute = _translatorOptions.resourceUseMpForDistribute;
         options.useMpForDistribute = _translatorOptions.resourceUseMpForDistribute;