Changeset 18763
- Timestamp:
- 02/18/17 15:40:39 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Sourcefile.sh
r18762 r18763 90 90 fi 91 91 printprocesslog "DEBUG finished "$SOURCEFILEPATH"/"$SCRIPTNAME 92 # fixme: handle different cases - sometimes exit of script is needed, sometimes only continue 92 93 exit 93 94 } … … 196 197 error=`echo $val | grep -E -o 'ERROR [1-9]{1,4}' | grep -E -o '[1-9]{1,4}'` 197 198 # here possible reaction to mysql error 199 val= 198 200 finish 199 201 fi … … 467 469 # execute query 468 470 numchanged=`sendquery` 469 #echo "numchanged: "$numchanged 470 #if ! numchanged=`mysql -s -u $us --password=$pw --host=$ho $db -e " $query "` 471 #then 472 # printprocesslog "ERROR could not set status in db (program: $program, function setstatus)" 473 # finish 474 #fi 471 # should not be needed anymore once finish does proper exit 472 printprocesslog "DEBUG numchanged "$numchanged 473 if [ "$numchanged" = "" ] 474 then 475 printprocesslog "DEBUG numchanged empty." 476 finish 477 fi 475 478 if [ $numchanged -gt 0 ] 476 479 then
Note:
See TracChangeset
for help on using the changeset viewer.