Bladeren bron

Merge pull request #5944 from richardkchapman/roxie-core-missing-dll

HPCC-11523 Fix roxie core on unloadable workunits

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 11 jaren geleden
bovenliggende
commit
5425c4fea9
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      roxie/ccd/ccdquery.cpp

+ 2 - 2
roxie/ccd/ccdquery.cpp

@@ -1282,12 +1282,12 @@ public:
     }
     virtual int getDebugValueInt(const char * propname, int defVal) const
     {
-        assertex(dll->queryWorkUnit());
+        assertex(dll && dll->queryWorkUnit());
         return dll->queryWorkUnit()->getDebugValueInt(propname, defVal);
     }
     virtual bool getDebugValueBool(const char * propname, bool defVal) const
     {
-        assertex(dll->queryWorkUnit());
+        assertex(dll && dll->queryWorkUnit());
         return dll->queryWorkUnit()->getDebugValueBool(propname, defVal);
     }
     bool getEnableFieldTranslation() const