Changeset 7395 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
11/11/05 17:57:31 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7394 r7395  
    2424     - fixed typo (be careful: due to this typo the values for
    2525       L2TriggerTable in the DB and in the sequence files may be wrong)
     26     - fixed bug introduced on 29th sept
    2627
    2728   * datacenter/scripts/rmlocks:
  • trunk/MagicSoft/Mars/datacenter/macros/buildsequenceentries.C

    r7393 r7395  
    220220
    221221        //calibration table
    222         query=Form("SELECT fSequenceFirst FROM Calibration "
     222        query=Form("SELECT Calibration.fSequenceFirst FROM Calibration "
    223223                   " LEFT JOIN Sequences ON Calibration.fSequenceFirst=Sequences.fSequenceFirst "
    224                    " WHERE fManuallyChangedKEY=1 AND fSequenceFirst BETWEEN %d and %d",
     224                   " WHERE fManuallyChangedKEY=1 AND Calibration.fSequenceFirst BETWEEN %d and %d",
    225225                   from, to);
    226226        res = serv.Query(query);
     
    237237
    238238        //Star table
    239         query=Form("SELECT fSequenceFirst FROM Star "
     239        query=Form("SELECT Star.fSequenceFirst FROM Star "
    240240                   " LEFT JOIN Sequences ON Star.fSequenceFirst=Sequences.fSequenceFirst "
    241                    " WHERE fManuallyChangedKEY=1 AND  fSequenceFirst BETWEEN %d and %d",
     241                   " WHERE fManuallyChangedKEY=1 AND  Star.fSequenceFirst BETWEEN %d and %d",
    242242                   from, to);
    243243        res = serv.Query(query);
     
    254254
    255255        //SequenceProcessStatus table
    256         query=Form("SELECT fSequenceFirst FROM SequenceProcessStatus "
     256        query=Form("SELECT SequenceProcessStatus.fSequenceFirst FROM SequenceProcessStatus "
    257257                   " LEFT JOIN Sequences ON SequenceProcessStatus.fSequenceFirst=Sequences.fSequenceFirst "
    258                    " WHERE fManuallyChangedKEY=1 AND  fSequenceFirst BETWEEN %d and %d",
     258                   " WHERE fManuallyChangedKEY=1 AND  SequenceProcessStatus.fSequenceFirst BETWEEN %d and %d",
    259259                   from, to);
    260260        res = serv.Query(query);
  • trunk/MagicSoft/Mars/datacenter/scripts/rmlocks

    r7393 r7395  
    4040#   echo "now: " $now
    4141#   echo "comp: " $compdate
    42    twelf=12
    43    if [ $compdate -gt $twelf ]
    44    then
    45       filedate2=`expr $filedate + 24`
    46    else
    47       filedate2=$filedate
    48    fi
    49    if [ $compdate -gt $filedate2 ] || [ $filedate2 -gt $now -a $now -gt $twelf ]
     42   filedate2=`expr $filedate + 24`
     43   
     44   if [ $compdate -gt $filedate2 ] || [ $filedate -gt $now ]
    5045   then
    5146      rm -v $file
Note: See TracChangeset for help on using the changeset viewer.