]> xenbits.xensource.com Git - people/royger/osstest.git/commitdiff
sg-execute-flight: make nqueued be right
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 12 Jun 2018 16:10:21 +0000 (17:10 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 14 Jun 2018 14:00:14 +0000 (15:00 +0100)
LIMIT 1 means it's either 0 or 1.  It would be nicer for the
transcript to show the real value.  For logic purposes, it's only ever
tested for zero, so no functional change except to messages.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
sg-execute-flight

index 5a84e0cc23b8c4f301e40a817b7895a2ef8753e9..aed9823ddc7ef1973cb2c93da8387f2745e02c11 100755 (executable)
@@ -34,7 +34,6 @@ proc check {} {
            SELECT job FROM jobs j
             WHERE j.flight = $flight
               AND j.status = 'queued'
-            LIMIT 1
        "]
 
        log "flight $flight nqueued=$nqueued"