Changeset 9135


Ignore:
Timestamp:
09/05/08 15:41:49 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9134 r9135  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2008/09/05 Daniela Dorner
     22
     23   * datacenter/scripts/sourcfile:
     24     - fixed bug (setstatus was not working for dataets and runs)
     25
     26
    2027
    2128 2008/08/27 Daniela Dorner
  • trunk/MagicSoft/Mars/datacenter/scripts/sourcefile

    r9129 r9135  
    365365   query=$query" where "
    366366#   query=$query" where $primary='$primvar'"
     367   if [ "$s" = "" ]
     368   then
     369      s=0
     370   fi
    367371   for (( i=0 ; i < ${#prims[@]} ; i++ ))
    368372   do
    369373      if [ $i -lt `expr ${#prims[@]} - 1` ]
    370374      then
    371          query=$query" ${prims[$i]}='${primaries[$s+$s+$i]}' and "
     375         query=$query" ${prims[$i]}='${primaries[$s*${#prims[@]}+$i]}' and "
    372376      else
    373          query=$query" ${prims[$i]}='${primaries[$s+$s+$i]}' "
     377         query=$query" ${prims[$i]}='${primaries[$s*${#prims[@]}+$i]}' "
    374378      fi
    375379   done
Note: See TracChangeset for help on using the changeset viewer.