Changeset 9088 for trunk/MagicSoft/Mars
- Timestamp:
- 08/05/08 09:44:03 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9086 r9088 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2008/08/05 Daniela Dorner 22 23 * datacenter/tools/resetpriorities: 24 - added (script to reset priorities in the tables RunProcessStatus, 25 SequenceProcessStatus and DataSetProcessStatus) 26 27 * datacenter/scripts/makecallistolinks: 28 - removed not needed output 29 30 * datacenter/scripts/sourcefile: 31 - fixed bug in query of setstatus 32 - improved if-clause to avoid unneccessary output 33 34 20 35 21 36 2008/08/04 Daniela Dorner -
trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks
r9056 r9088 54 54 query="SELECT fSequenceFirst, fTelescopeNumber from SequenceProcessStatus where fReturnCode=13 and fProgramId=14" 55 55 primaries=( `sendquery` ) 56 echo ${primaries[@]}57 56 if [ ${#primaries[@]} -eq 0 ] 58 57 then -
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r9053 r9088 281 281 query=$query" and isnull(fStartTime) and isnull(fFailedTime) and isnull(fProgramId) and isnull(fReturnCode) " 282 282 query=$query" order by fPriority desc " 283 if [ "$@ " != "" ]283 if [ "$@ " != " " ] 284 284 then 285 285 query=$query" limit 0, $@ " … … 367 367 if [ $i -lt `expr ${#prims[@]} - 1` ] 368 368 then 369 query=$query" ${prims[$i]}= ${primaries[$s+$s+$i]}and "369 query=$query" ${prims[$i]}='${primaries[$s+$s+$i]}' and " 370 370 else 371 query=$query" ${prims[$i]}= ${primaries[$s+$s+$i]}"371 query=$query" ${prims[$i]}='${primaries[$s+$s+$i]}' " 372 372 fi 373 373 done
Note:
See TracChangeset
for help on using the changeset viewer.