| 273 |
}; |
}; |
| 274 |
// |
// |
| 275 |
myquery.str(""); |
myquery.str(""); |
| 276 |
myquery << "SET time_zone='+0:00'"; |
myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';"; |
| 277 |
dbc->Query(myquery.str().c_str()); |
dbc->Query(myquery.str().c_str()); |
| 278 |
// |
// |
| 279 |
RunGlue *rg = new RunGlue(dbc,run,dir,outdir); |
RunGlue *rg = new RunGlue(dbc,run,dir,outdir); |
| 280 |
// |
// |
| 281 |
if ( debug ) rg->SetDebug(true); |
if ( debug ) rg->SetDebug(true); |
| 282 |
|
if ( !dbup ) rg->SetUpgrade(false); |
| 283 |
rg->SetDList(dectlist); |
rg->SetDList(dectlist); |
| 284 |
// |
// |
| 285 |
TList *l = 0; |
TList *l = 0; |
| 308 |
} else { |
} else { |
| 309 |
RET = 255; |
RET = 255; |
| 310 |
}; |
}; |
| 311 |
|
} else { |
| 312 |
|
RET = 255; |
| 313 |
}; |
}; |
| 314 |
delete l; |
delete l; |
| 315 |
// |
// |
| 321 |
// |
// |
| 322 |
if ( dbc ) dbc->Close(); |
if ( dbc ) dbc->Close(); |
| 323 |
// |
// |
| 324 |
|
if ( debug ) printf(" exit with error code %i \n",RET); |
| 325 |
|
// |
| 326 |
printf("\n"); |
printf("\n"); |
| 327 |
// |
// |
| 328 |
exit(RET); |
exit(RET); |