/[PAMELA software]/YodaProfiler/src/R2-D2.cpp
ViewVC logotype

Diff of /YodaProfiler/src/R2-D2.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by mocchiut, Tue Dec 5 12:23:16 2006 UTC revision 1.11 by mocchiut, Fri Nov 9 09:13:56 2007 UTC
# Line 596  int main(int numinp, char *inps[]){ Line 596  int main(int numinp, char *inps[]){
596      myquery << ",ID_RAW";      myquery << ",ID_RAW";
597      myquery << ",PATH";      myquery << ",PATH";
598      myquery << ",NAME";      myquery << ",NAME";
599      myquery << " from GL_ROOT where NAME=\"" << l2filename.Data() << "\";";          myquery << " from GL_ROOT where NAME=\"" << l2filename.Data() << "\" order by INSERT_TIME desc limit 1;";    
600      pResult = dbc->Query(myquery.str().c_str());      pResult = dbc->Query(myquery.str().c_str());
601      for( r=0; r < 1000; r++){      for( r=0; r < 1000; r++){
602        Row = pResult->Next();              Row = pResult->Next();      
# Line 628  int main(int numinp, char *inps[]){ Line 628  int main(int numinp, char *inps[]){
628          } else {          } else {
629            printf("\n\n");            printf("\n\n");
630          };          };
631          if ( (UInt_t)atoll(Row->GetField(0)) != rlist[nr] ){          if ( (UInt_t)atoll(Row->GetField(1)) != rlist[nr] ){
632            nr++;            nr++;
633            rlist[nr] = (UInt_t)atoll(Row->GetField(0));            rlist[nr] = (UInt_t)atoll(Row->GetField(1));
634          };          };
635        };        };
636        delete pResult;          delete pResult;  

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.23