messages
update stats days=1
sql
-SELECT 'FOUND' AS test FROM JobHistory;
+SELECT 'FOUND' AS test FROM JobHisto;
run job=$JobName yes
wait
@$out ${cwd}/tmp/log2.out
update stats
sql
-SELECT 'FOUND' AS test FROM JobHistory;
+SELECT 'FOUND' AS test FROM JobHisto;
list jobs
prune stats yes
@$out ${cwd}/tmp/log3.out
sql
-SELECT 'FOUND' AS test FROM JobHistory;
+SELECT 'FOUND' AS test FROM JobHisto;
quit
END_OF_DATA
COUNT=`grep FOUND ${cwd}/tmp/log1.out | wc -l`
if [ $COUNT -ne 1 ]; then
- print_debug "Bad count in JobHistory table"
+ print_debug "Bad count in JobHisto table"
bstat=1
fi
COUNT=`grep FOUND ${cwd}/tmp/log2.out | wc -l`
if [ $COUNT -ne 3 ]; then
- print_debug "Bad count in JobHistory table"
+ print_debug "Bad count in JobHisto table"
bstat=2
fi
COUNT=`grep FOUND ${cwd}/tmp/log3.out | wc -l`
if [ $COUNT -ne 1 ]; then
- print_debug "Bad count in JobHistory table"
+ print_debug "Bad count in JobHisto table"
bstat=3
fi