From 11b3ed742ebfe91f5d4d9c7330d97642a992e9ab Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 12 Jun 2018 17:10:21 +0100 Subject: [PATCH] sg-execute-flight: make nqueued be right 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 --- sg-execute-flight | 1 - 1 file changed, 1 deletion(-) diff --git a/sg-execute-flight b/sg-execute-flight index 5a84e0c..aed9823 100755 --- a/sg-execute-flight +++ b/sg-execute-flight @@ -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" -- 2.39.5