- Timestamp:
- 05/16/07 15:56:17 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8519 r8520 18 18 19 19 -*-*- END OF LINE -*-*- 20 2007/05/16 Daniel Hoehne 21 22 * datacenter/tools/resetdataset: 23 - several bugfixes (mainly typos, for wobble datasets there was one 24 colon too much due to no off sequences) 25 26 27 20 28 2007/05/16 Thomas Bretz 21 29 -
trunk/MagicSoft/Mars/datacenter/tools/resetdataset
r8380 r8520 30 30 31 31 datasetpath=/magic/datasets 32 datasetpath=/test/bu.2006.10.05/datasets32 #datasetpath=/test/bu.2006.10.05/datasets 33 33 34 34 function usage() … … 93 93 94 94 95 alias mymysql='mysql -u $user --password=$p s--host=vela $db -s -e'95 alias mymysql='mysql -u $user --password=$pw --host=vela $db -s -e' 96 96 97 whereclause1=" WHERE fDataSetNum er=$dataset"97 whereclause1=" WHERE fDataSetNumber=$dataset" 98 98 statusreset=", fStartTime=NULL, fFailedTime=NULL, fFailedCode=NULL, fFailedCodeAdd=NULL, fReturnCode=NULL" 99 99 query1="UPDATE DataSetProcessStatus SET fStarFilesAvail=NULL, fGanymed=NULL, fFillGanymed=NULL" 100 100 query1=$query1$statusreset$whereclause1 101 101 102 query2="DELETE FROM G ANYMED"$whereclause1102 query2="DELETE FROM Ganymed "$whereclause1 103 103 104 104 no=`printf %08d $dataset` … … 118 118 echo " Found the following off sequences: $seqoff" 119 119 120 whereclause2=" WHERE fSequenceFirst IN ($seqon,$seqoff)" 121 query3="UPDATE SequenceProcessStatus SET fAllFilesAvail=NULL, fCallisto=NULL, fStar=NULL " 122 query3=$query3$setstatusreseet$whereclause2 120 if [ "$seqoff" = "" ] 121 then 122 whereclause2=" WHERE fSequenceFirst IN ($seqon)" 123 else 124 whereclause2=" WHERE fSequenceFirst IN ($seqon,$seqoff)" 125 fi 126 query3="UPDATE SequenceProcessStatus SET fCallisto=NULL, fStar=NULL " 127 query3=$query3$statusreset$whereclause2 123 128 124 129 query4="DELETE FROM Calibration"$whereclause2
Note:
See TracChangeset
for help on using the changeset viewer.