Explorar el Código

Merge pull request #383 from richardkchapman/query_counts

Roxie query timing stats using uninitialized values
Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday hace 13 años
padre
commit
6c67f7059e
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      roxie/ccd/ccdsnmp.hpp

+ 3 - 0
roxie/ccd/ccdsnmp.hpp

@@ -38,6 +38,9 @@ public:
 public:
 public:
     RoxieQueryStats()
     RoxieQueryStats()
     {
     {
+        count = 0;
+        failedCount = 0;
+        atomic_set(&active, 0);
         totalTime = 0;
         totalTime = 0;
         maxTime = 0;
         maxTime = 0;
         minTime = 0; 
         minTime = 0;