/[PAMELA software]/DarthVader/ToFLevel2/src/ToFCore.cpp
ViewVC logotype

Diff of /DarthVader/ToFLevel2/src/ToFCore.cpp

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

revision 1.58 by mocchiut, Fri Oct 10 13:35:16 2014 UTC revision 1.59 by mocchiut, Tue Oct 14 14:07:34 2014 UTC
# Line 563  int ToFCore(UInt_t run, TFile *file, GL_ Line 563  int ToFCore(UInt_t run, TFile *file, GL_
563      if ( !dbc->IsConnected() ) throw -314;      if ( !dbc->IsConnected() ) throw -314;
564      stringstream myquery;      stringstream myquery;
565      myquery.str("");      myquery.str("");
566      myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';";      myquery << "SET time_zone='+0:00';";
567      delete dbc->Query(myquery.str().c_str());      delete dbc->Query(myquery.str().c_str());
568        delete dbc->Query("SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';");
569      dbtime = new GL_TIMESYNC(runinfo->ID_ROOT_L0,"ID",dbc);      dbtime = new GL_TIMESYNC(runinfo->ID_ROOT_L0,"ID",dbc);
570      //      //
571      // Search in the DB the path and name of the LEVEL0 file to be processed.      // Search in the DB the path and name of the LEVEL0 file to be processed.

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59

  ViewVC Help
Powered by ViewVC 1.1.23