Explorar o código

Merge pull request #13984 from ghalliday/issue24402

HPCC-24402 Fix processing stored sets of unsigned values

Reviewed-by: Tony Fishbeck
Merged-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday %!s(int64=4) %!d(string=hai) anos
pai
achega
1714fd38cd
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      common/thorhelper/thorxmlread.cpp

+ 3 - 1
common/thorhelper/thorxmlread.cpp

@@ -359,7 +359,9 @@ __uint64 XmlSetColumnProvider::getUInt(const char * name)
 #ifdef _DEBUG
     assertex(stricmp(name, "value")==0);
 #endif
-    return readUInt(name, 0);
+    //MORE: Note nullptr is passed in all of these XmlSetColumnProvider::get functions
+    //The code generator incorrectly generates "value" as the name to read.  Really it should be fixed there.
+    return readUInt(nullptr, 0);
 }
 
 void XmlSetColumnProvider::getData(size32_t len, void * target, const char * name)