浏览代码

HPCC-9639 Roxie may segfault on startup if previous 4.0 build used

If files on the dali were copied using an earlier release candidate of 4.0.0,
rc-14 roxie may core on startup.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 12 年之前
父节点
当前提交
465e56aa86
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roxie/ccd/ccddali.cpp

+ 1 - 1
roxie/ccd/ccddali.cpp

@@ -415,7 +415,7 @@ public:
             return NULL;
         if (!fdesc || !fdesc->queryProperties().hasProp("@cloneFrom"))
             return NULL;
-        if (fdesc->queryProperties().hasProp("cloneFromGroup"))
+        if (fdesc->queryProperties().hasProp("cloneFromGroup") && fdesc->queryProperties().hasProp("@cloneFromDir"))
         {
             return recreateCloneSource(fdesc, _lfn);
         }