Changeset 9108 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 08/07/08 12:23:05 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/buildsequenceentries.C
r9017 r9108 469 469 const char *fmt2 = "AND fExcludedFDAKEY=1 AND (fRunTypeKEY BETWEEN 2 AND 4) ORDER BY Id"; 470 470 471 const TString query1 = Form("%s fTelescopeNumber=%d AND fSequenceFirst=%d %s", fmt1, fTelescopeNumber, runstart/1000, fTelescopeNumber,fmt2);471 const TString query1 = Form("%s fTelescopeNumber=%d AND fSequenceFirst=%d %s", fmt1, fTelescopeNumber, runstart/1000, fmt2); 472 472 const TString query2 = Form("%s fTelescopeNumber=%d AND fRunNumber*1000+fFileNumber BETWEEN %d AND %d %s", fmt1, fTelescopeNumber, runstart, runstop, fmt2); 473 473 … … 510 510 " fTelescopeNumber=%d AND fSequenceFirst>0 AND " 511 511 " fExcludedFDAKEY=1 AND (fRunTypeKEY BETWEEN 2 AND 4)" 512 " GROUP BY fSequenceFirst", fTelescopeNumber, runstart, runstop); 512 " GROUP BY fSequenceFirst", runstart, runstop, 513 fTelescopeNumber); 513 514 514 515 TSQLResult *res = Query(query);
Note:
See TracChangeset
for help on using the changeset viewer.