Переглянути джерело

HPCC-10574 Support persists in roxie

Minor fixes from code review

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 11 роки тому
батько
коміт
c482f2051d
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      roxie/ccd/ccdcontext.cpp

+ 2 - 2
roxie/ccd/ccdcontext.cpp

@@ -287,7 +287,7 @@ protected:
             if (workunit->getDebugValueBool("expandPersistInputDependencies", false))
                 doExecuteItemDependencies(item, wfid);
             if (maxPersistCopies > 0)
-                deleteLRUPersists(logicalName, maxPersistCopies-1);
+                deleteLRUPersists(logicalName, (unsigned) maxPersistCopies-1);
             doExecuteItem(item, wfid);
             updatePersist(persistLock, logicalName, thisPersist->eclCRC, thisPersist->allCRC);
         }
@@ -562,7 +562,7 @@ private:
 
     }
 
-    void deleteLRUPersists(const char * logicalName, int keep)
+    void deleteLRUPersists(const char * logicalName, unsigned keep)
     {
         StringBuffer lfn;
         expandLogicalFilename(lfn, logicalName, workunit, false);