Changeset 7480
- Timestamp:
- 02/06/06 19:23:46 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7479 r7480 18 18 19 19 -*-*- END OF LINE -*-*- 20 2006/02/03 Daniela Dorner 21 22 * datacenter/scripts/fillstar, macros/setstatus.C, getdolist.C: 23 - fixed bugs 24 25 26 20 27 2006/02/03 Daniela Dorner 21 28 -
trunk/MagicSoft/Mars/datacenter/macros/getdolist.C
r7475 r7480 130 130 rc.GetValue(table+".TimerTable", ""), 131 131 rc.GetValue(table+".Primary", "")); 132 query+=Form(" WHERE ISNULL(%s) AND ISNULL(fFailedCode) AND fFailedComment='NULL'AND ISNULL(fStartTime) AND ISNULL(fFailedTime) ", column.Data());132 query+=Form(" WHERE ISNULL(%s) AND ISNULL(fFailedCode) AND ISNULL(fFailedComment) AND ISNULL(fStartTime) AND ISNULL(fFailedTime) ", column.Data()); 133 133 134 134 TIter Next(&l); -
trunk/MagicSoft/Mars/datacenter/macros/setstatus.C
r7469 r7480 123 123 TString influences = rc.GetValue(table+"."+column+".Influences", ""); 124 124 125 TString query(Form("UPDATE %s SET %s=%s, fFailedCode=%s, fFailedComment= '%s', fFailedTime=%s ",125 TString query(Form("UPDATE %s SET %s=%s, fFailedCode=%s, fFailedComment=%s, fFailedTime=%s ", 126 126 table.Data(), column.Data(), statustime.Data(), failedcode.Data(), 127 127 failedcomment.Data(), failedtime.Data())); -
trunk/MagicSoft/Mars/datacenter/scripts/fillstar
r7476 r7480 91 91 starfile=$path/star$no2.root 92 92 fillstarlogpath=$logpath/$program/$no 93 echo " $programlogpath: "$fillstarlogpath >> $scriptlog 2>&193 echo "fillstarlogpath: "$fillstarlogpath >> $scriptlog 2>&1 94 94 makedir $fillstarlogpath >> $scriptlog 2>&1 95 95 fillstarlog=$fillstarlogpath/$program-$sequence.log … … 101 101 case $check2 in 102 102 1) echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;; 103 *) echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 ;;103 *) echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 104 104 com="fillstar for sequence $sequence failed" 105 105 check=$check2
Note:
See TracChangeset
for help on using the changeset viewer.