Explorar el Código

HPCC-12180 Fix windows build break in mysqlembed

Must return a value, or alternatively throw the exception directly.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Anthony Fishbeck hace 10 años
padre
commit
e82b6ed788
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      plugins/mysql/mysqlembed.cpp

+ 2 - 0
plugins/mysql/mysqlembed.cpp

@@ -718,10 +718,12 @@ public:
     virtual bool processBeginSet(const RtlFieldInfo * field, unsigned numElements, bool isAll, const byte *data)
     virtual bool processBeginSet(const RtlFieldInfo * field, unsigned numElements, bool isAll, const byte *data)
     {
     {
         UNSUPPORTED("SET fields");
         UNSUPPORTED("SET fields");
+        return false;
     }
     }
     virtual bool processBeginDataset(const RtlFieldInfo * field, unsigned numRows)
     virtual bool processBeginDataset(const RtlFieldInfo * field, unsigned numRows)
     {
     {
         UNSUPPORTED("Nested datasets");
         UNSUPPORTED("Nested datasets");
+        return false;
     }
     }
     virtual bool processBeginRow(const RtlFieldInfo * field)
     virtual bool processBeginRow(const RtlFieldInfo * field)
     {
     {