/[PAMELA software]/DarthVader/TrackerLevel2/src/TrkParams.cpp
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/src/TrkParams.cpp

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

revision 1.30 by pam-fi, Thu Feb 27 11:24:43 2014 UTC revision 1.31 by mocchiut, Fri Oct 10 13:35:21 2014 UTC
# Line 116  TSQLServer* TrkParams::SetDBConnection() Line 116  TSQLServer* TrkParams::SetDBConnection()
116      if( !dbc->IsConnected() )return NULL;          if( !dbc->IsConnected() )return NULL;    
117      stringstream myquery;  // EMILIANO      stringstream myquery;  // EMILIANO
118      myquery.str("");  // EMILIANO      myquery.str("");  // EMILIANO
119      myquery << "SET time_zone='+0:00'";  // EMILIANO      myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';";  // EMILIANO
120      dbc->Query(myquery.str().c_str());  // EMILIANO      dbc->Query(myquery.str().c_str());  // EMILIANO
121      if(TrkParams::DebugMode()){      if(TrkParams::DebugMode()){
122          cout << " ...done"<<endl;          cout << " ...done"<<endl;

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.23