Changeset 9108
- Timestamp:
- 08/07/08 12:23:05 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9107 r9108 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2008/08/07 Thomas Bretz 22 23 * datacenter/macros/buildsequenceentries.C: 24 - fixed a problem with the check whether a sequence already 25 exists. It was always belived that the sequence doesn't exist. 26 27 20 28 21 29 2008/08/07 Stefan Ruegamer -
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.