/[PAMELA software]/DarthVader/NDLevel2/src/NDCore.cpp
ViewVC logotype

Diff of /DarthVader/NDLevel2/src/NDCore.cpp

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

revision 1.30 by mocchiut, Fri Oct 10 13:35:08 2014 UTC revision 1.31 by mocchiut, Tue Oct 14 14:07:17 2014 UTC
# Line 388  int NDCore(UInt_t run, TFile *file, GL_T Line 388  int NDCore(UInt_t run, TFile *file, GL_T
388      if ( !dbc->IsConnected() ) throw -604;      if ( !dbc->IsConnected() ) throw -604;
389      stringstream myquery;      stringstream myquery;
390      myquery.str("");      myquery.str("");
391      myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';";      myquery << "SET time_zone='+0:00';";
392      delete dbc->Query(myquery.str().c_str());      delete dbc->Query(myquery.str().c_str());
393        delete dbc->Query("SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';");
394      dbtime = new GL_TIMESYNC(runinfo->ID_ROOT_L0,"ID",dbc);      dbtime = new GL_TIMESYNC(runinfo->ID_ROOT_L0,"ID",dbc);
395      //      //
396      // 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.30  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.23