Changeset 7395 for trunk/MagicSoft/Mars
- Timestamp:
- 11/11/05 17:57:31 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7394 r7395 24 24 - fixed typo (be careful: due to this typo the values for 25 25 L2TriggerTable in the DB and in the sequence files may be wrong) 26 - fixed bug introduced on 29th sept 26 27 27 28 * datacenter/scripts/rmlocks: -
trunk/MagicSoft/Mars/datacenter/macros/buildsequenceentries.C
r7393 r7395 220 220 221 221 //calibration table 222 query=Form("SELECT fSequenceFirst FROM Calibration "222 query=Form("SELECT Calibration.fSequenceFirst FROM Calibration " 223 223 " 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", 225 225 from, to); 226 226 res = serv.Query(query); … … 237 237 238 238 //Star table 239 query=Form("SELECT fSequenceFirst FROM Star "239 query=Form("SELECT Star.fSequenceFirst FROM Star " 240 240 " 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", 242 242 from, to); 243 243 res = serv.Query(query); … … 254 254 255 255 //SequenceProcessStatus table 256 query=Form("SELECT fSequenceFirst FROM SequenceProcessStatus "256 query=Form("SELECT SequenceProcessStatus.fSequenceFirst FROM SequenceProcessStatus " 257 257 " 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", 259 259 from, to); 260 260 res = serv.Query(query); -
trunk/MagicSoft/Mars/datacenter/scripts/rmlocks
r7393 r7395 40 40 # echo "now: " $now 41 41 # 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 ] 50 45 then 51 46 rm -v $file
Note:
See TracChangeset
for help on using the changeset viewer.