Selaa lähdekoodia

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 4 vuotta sitten
vanhempi
commit
1714fd38cd
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  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)