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

Legend:

Unmodified
Added
Removed
  • 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.