Changeset 9108 for trunk


Ignore:
Timestamp:
08/07/08 12:23:05 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9107 r9108  
    1818
    1919                                                 -*-*- 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
    2028
    2129 2008/08/07 Stefan Ruegamer
  • trunk/MagicSoft/Mars/datacenter/macros/buildsequenceentries.C

    r9017 r9108  
    469469        const char *fmt2 = "AND fExcludedFDAKEY=1 AND (fRunTypeKEY BETWEEN 2 AND 4) ORDER BY Id";
    470470
    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);
    472472        const TString query2 = Form("%s fTelescopeNumber=%d AND fRunNumber*1000+fFileNumber BETWEEN %d AND %d %s", fmt1, fTelescopeNumber, runstart, runstop, fmt2);
    473473
     
    510510                 " fTelescopeNumber=%d AND fSequenceFirst>0 AND "
    511511                 " fExcludedFDAKEY=1 AND (fRunTypeKEY BETWEEN 2 AND 4)"
    512                  " GROUP BY fSequenceFirst", fTelescopeNumber, runstart, runstop);
     512                 " GROUP BY fSequenceFirst", runstart, runstop,
     513                 fTelescopeNumber);
    513514
    514515        TSQLResult *res = Query(query);
Note: See TracChangeset for help on using the changeset viewer.