Changeset 9088 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
08/05/08 09:44:03 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9086 r9088  
    1818
    1919                                                 -*-*- 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
    2035
    2136 2008/08/04 Daniela Dorner
  • trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks

    r9056 r9088  
    5454query="SELECT fSequenceFirst, fTelescopeNumber from SequenceProcessStatus where fReturnCode=13 and fProgramId=14"
    5555primaries=( `sendquery` )
    56 echo ${primaries[@]}
    5756if [ ${#primaries[@]} -eq 0 ]
    5857then
  • trunk/MagicSoft/Mars/datacenter/scripts/sourcefile

    r9053 r9088  
    281281   query=$query" and isnull(fStartTime) and isnull(fFailedTime) and isnull(fProgramId) and isnull(fReturnCode) "
    282282   query=$query" order by fPriority desc "
    283    if [ "$@" != "" ]
     283   if [ "$@ " != " " ]
    284284   then
    285285      query=$query" limit 0, $@ "
     
    367367      if [ $i -lt `expr ${#prims[@]} - 1` ]
    368368      then
    369          query=$query" ${prims[$i]}=${primaries[$s+$s+$i]} and "
     369         query=$query" ${prims[$i]}='${primaries[$s+$s+$i]}' and "
    370370      else
    371          query=$query" ${prims[$i]}=${primaries[$s+$s+$i]} "
     371         query=$query" ${prims[$i]}='${primaries[$s+$s+$i]}' "
    372372      fi
    373373   done
Note: See TracChangeset for help on using the changeset viewer.