Changeset 19209
- Timestamp:
- 09/03/18 21:18:23 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Sourcefile.sh
r19198 r19209 340 340 if [ "$sort" = "" ] 341 341 then 342 query=$query" DESC "342 query=$query" ASC " 343 343 else 344 344 query=$query" "$sort … … 385 385 #numproc=`sendquery `#cannot be done with sendquery, because of row counting 386 386 printprocesslog "DEBUG send query "$query 387 if ! numproc=`mysql --default-file=$sqlrc -s -e " $query " | wc -l` 387 printprocesslog "BLA "`which mysql` 388 if ! numproc=`mysql --defaults-file=$sqlrc -s -e " $query " | wc -l` 388 389 then 389 390 printprocesslog "ERROR could not query number of processes from db (program: $program, function getstatus, mysqlsetup $sqlrc)" … … 475 476 for otherstep in $othersteps 476 477 do 477 query=$query", "$otherstep"Status.fStartTime= NULL"478 query=$query", "$otherstep"Status.fStopTime= NULL"478 query=$query", "$otherstep"Status.fStartTime=IF("$otherstep"Status.fStartTime='1970-01-01 00:00:00', '1970-01-01 00:00:00', NULL) " 479 query=$query", "$otherstep"Status.fStopTime=IF("$otherstep"Status.fStartTime='1970-01-01 00:00:00', '1970-01-01 00:00:00', NULL) " 479 480 query=$query", "$otherstep"Status.fAvailable=NULL " 480 481 query=$query", "$otherstep"Status.fReturnCode=NULL "
Note:
See TracChangeset
for help on using the changeset viewer.