This is going to make the next patch, which adds more complication,
easier to read.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
# s J J J # fix perl-mode
my $duration_duration_qtxt= <<END;
- SELECT sum(finished-started) AS duration FROM steps
- WHERE flight=? AND job=?
- AND step != 'ts-hosts-allocate'
+ SELECT sum(finished-started)
+ AS duration
+ FROM steps
+ WHERE flight=? AND job=?
+ AND step != 'ts-hosts-allocate'
END
my $duration_duration_q = $dbh_tests->prepare($duration_duration_qtxt);