Explorar o código

HPCC-12925 Save remote DALI IP when resolving file references

5.2 Regression from recent StringBuffer changes.  Also fix dbgassert
that is invalid in some scenarios.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Anthony Fishbeck %!s(int64=10) %!d(string=hai) anos
pai
achega
c8e91036e1
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 1 0
      common/workunit/referencedfilelist.cpp
  2. 0 1
      system/jlib/jstring.cpp

+ 1 - 0
common/workunit/referencedfilelist.cpp

@@ -358,6 +358,7 @@ IPropertyTree *ReferencedFile::getSpecifiedOrRemoteFileTree(IUserDescriptor *use
     if (!fileTree)
         return NULL;
     StringAttrBuilder daliipText(daliip);
+    remote->endpoint().getUrlStr(daliipText);
     filePrefix.set(remotePrefix);
     return fileTree.getClear();
 }

+ 0 - 1
system/jlib/jstring.cpp

@@ -97,7 +97,6 @@ StringBuffer::StringBuffer(bool useInternal)
 
 StringBuffer::~StringBuffer()
 {
-    dbgassertex(buffer);
     freeBuffer();
 }