Explorar el Código

Merge pull request #8885 from richardkchapman/hthor-single-super

HPCC-15748 HThor virtual(logicalfilename) fails on superfile with 1 subfile

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday hace 9 años
padre
commit
305216ab39
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      ecl/hthor/hthor.cpp

+ 3 - 1
ecl/hthor/hthor.cpp

@@ -7999,7 +7999,9 @@ void CHThorDiskReadBaseActivity::resolve()
                         }
                         assertex(fdesc);
                         superfile.set(fdesc->querySuperFileDescriptor());
-                        assertex(superfile);
+                        if (!superfile && numsubs>0)
+                            logicalFileName.set(subfileLogicalFilenames.item(0));
+
                     }
                 }
                 if((helper.getFlags() & (TDXtemporary | TDXjobtemp)) == 0)