--- chewbacca/YodaProfiler/src/PamelaDBOperations.cpp 2014/10/10 13:00:12 1.38 +++ chewbacca/YodaProfiler/src/PamelaDBOperations.cpp 2014/10/14 12:59:14 1.39 @@ -1658,7 +1658,8 @@ Int_t PamelaDBOperations::insertPamelaGL_TIMESYNC(){ // Int_t signal = 0; - UInt_t idresof = 0; + // UInt_t idresof = 0; + idresof = 0; stringstream oss; TSQLResult *result = 0; TSQLRow *row = 0; @@ -1972,7 +1973,7 @@ // if ( chewbacca ){ oss.str(""); - oss << " SELECT ID FROM GL_TIMESYNC where TIMESYNC="<Query(oss.str().c_str()); // @@ -5745,7 +5746,7 @@ // --------------------------------------------------------------------- UInt_t idtimesync = 0; oss.str(""); - oss << " SELECT ID FROM GL_TIMESYNC where TIMESYNC="<Query(oss.str().c_str()); if ( !result ) throw -3;