/[PAMELA software]/PadmeAmidala/src/PadmeAmidala.cpp
ViewVC logotype

Diff of /PadmeAmidala/src/PadmeAmidala.cpp

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

revision 1.8 by mocchiut, Tue Jan 27 10:15:40 2009 UTC revision 1.12 by mocchiut, Fri Oct 17 09:39:41 2014 UTC
# Line 273  int main(int numinp, char *inps[]){ Line 273  int main(int numinp, char *inps[]){
273    };        };    
274    //    //
275    myquery.str("");    myquery.str("");
276    myquery << "SET time_zone='+0:00'";    myquery << "SET time_zone='+0:00';";
277    dbc->Query(myquery.str().c_str());    delete dbc->Query(myquery.str().c_str());
278      delete dbc->Query("SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';");
279    //    //
280    RunGlue *rg = new RunGlue(dbc,run,dir,outdir);    RunGlue *rg = new RunGlue(dbc,run,dir,outdir);
281    //    //
282    if ( debug ) rg->SetDebug(true);    if ( debug ) rg->SetDebug(true);
283      if ( !dbup ) rg->SetUpgrade(false);
284    rg->SetDList(dectlist);    rg->SetDList(dectlist);
285    //    //
286    TList *l = 0;    TList *l = 0;
# Line 307  int main(int numinp, char *inps[]){ Line 309  int main(int numinp, char *inps[]){
309        } else {        } else {
310          RET = 255;          RET = 255;
311        };        };
312        } else {
313          RET = 255;
314      };      };
315      delete l;      delete l;
316      //      //
# Line 318  int main(int numinp, char *inps[]){ Line 322  int main(int numinp, char *inps[]){
322    //    //
323    if ( dbc ) dbc->Close();    if ( dbc ) dbc->Close();
324    //    //
325      if ( debug ) printf(" exit with error code %i \n",RET);
326      //
327    printf("\n");    printf("\n");
328    //    //
329    exit(RET);    exit(RET);

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.23