瀏覽代碼

HPCC-10106 Ensure the #option is always in the workunit

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 11 年之前
父節點
當前提交
7b872034b5
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      ecl/hqlcpp/hqlcpp.cpp

+ 3 - 0
ecl/hqlcpp/hqlcpp.cpp

@@ -1802,6 +1802,9 @@ void HqlCppTranslator::postProcessOptions()
     //Probably best to ignore this warning. - possibly configure it based on some other option
     queryWarningProcessor().addGlobalOnWarning(HQLWRN_FoldRemoveKeyed, ignoreAtom);
 
+    //Ensure the settings for the following options are always present in the workunit
+    wu()->setDebugValueInt("expandPersistInputDependencies",options.expandPersistInputDependencies,true);
+
     if (options.forceVariableWuid)
         wu()->setCloneable(true);
 }