/[PAMELA software]/YodaProfiler/src/GLTables.cpp
ViewVC logotype

Diff of /YodaProfiler/src/GLTables.cpp

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

revision 1.26 by mocchiut, Tue Apr 17 12:06:55 2007 UTC revision 1.27 by mocchiut, Wed Apr 18 13:55:00 2007 UTC
# Line 1467  GL_TIMESYNC::GL_TIMESYNC(UInt_t id, TStr Line 1467  GL_TIMESYNC::GL_TIMESYNC(UInt_t id, TStr
1467    //    //
1468    //    //
1469    stringstream oss;    stringstream oss;
1470      TString frn = rname.str().c_str();
1471      frn = frn.ReplaceAll(".root",5,".pam",4);
1472    oss.str("");    oss.str("");
1473    oss << "SELECT YEAR(OFFSET_DATE),MONTH(OFFSET_DATE),DAY(OFFSET_DATE),HOUR(OFFSET_DATE),MINUTE(OFFSET_DATE),SECOND(OFFSET_DATE) FROM GL_RESURS_OFFSET WHERE SPECIAL_FILE='"    oss << "SELECT YEAR(OFFSET_DATE),MONTH(OFFSET_DATE),DAY(OFFSET_DATE),HOUR(OFFSET_DATE),MINUTE(OFFSET_DATE),SECOND(OFFSET_DATE) FROM GL_RESURS_OFFSET WHERE SPECIAL_FILE='"
1474        << rname.str().c_str() << "';";        << frn.Data() << "';";
1475    if ( !this->GetGLTABLES()->IsConnected(dbc) ) return;      if ( !this->GetGLTABLES()->IsConnected(dbc) ) return;  
1476    this->GetGLTABLES()->AddQ();    this->GetGLTABLES()->AddQ();
1477    pResult = dbc->Query(oss.str().c_str());    pResult = dbc->Query(oss.str().c_str());

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.23