Changeset 9135 for trunk/MagicSoft/Mars/datacenter/scripts
- Timestamp:
- 09/05/08 15:41:49 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r9129 r9135 365 365 query=$query" where " 366 366 # query=$query" where $primary='$primvar'" 367 if [ "$s" = "" ] 368 then 369 s=0 370 fi 367 371 for (( i=0 ; i < ${#prims[@]} ; i++ )) 368 372 do 369 373 if [ $i -lt `expr ${#prims[@]} - 1` ] 370 374 then 371 query=$query" ${prims[$i]}='${primaries[$s +$s+$i]}' and "375 query=$query" ${prims[$i]}='${primaries[$s*${#prims[@]}+$i]}' and " 372 376 else 373 query=$query" ${prims[$i]}='${primaries[$s +$s+$i]}' "377 query=$query" ${prims[$i]}='${primaries[$s*${#prims[@]}+$i]}' " 374 378 fi 375 379 done
Note:
See TracChangeset
for help on using the changeset viewer.