Explorar el Código

Merge pull request #5351 from jakesmith/hpcc-10794

HPCC-10794 - Sasha search fails to find some workunits

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman hace 11 años
padre
commit
dc9ef3eecb
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      dali/sasha/saarch.cpp

+ 2 - 0
dali/sasha/saarch.cpp

@@ -73,6 +73,8 @@ static void mkDateCompare(bool dfu,const char *dt,StringBuffer &out,char fill)
             else
                 out.append(fill);
         out.append('-');
+        if (dt[i]) // skip '-'
+            i++;
         while (dt[i]||(out.length()<16))
             if (dt[i])
                 out.append(dt[i++]);