[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 10/14] duration_estimator: Introduce some _qtxt variables
No functional change. Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- Osstest/Executive.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Osstest/Executive.pm b/Osstest/Executive.pm index 3cd37c14..c966a1be 100644 --- a/Osstest/Executive.pm +++ b/Osstest/Executive.pm @@ -1146,7 +1146,7 @@ sub duration_estimator ($$;$$) { if ($will_uptoincl_testid) { $or_status_truncated = "OR j.status='truncated'!"; } - my $recentflights_q= $dbh_tests->prepare(<<END); + my $recentflights_qtxt= <<END; SELECT f.flight AS flight, f.started AS started, j.status AS status @@ -1167,7 +1167,7 @@ sub duration_estimator ($$;$$) { ORDER BY f.started DESC END - my $duration_anyref_q= $dbh_tests->prepare(<<END); + my $duration_anyref_qtxt= <<END; SELECT f.flight AS flight, max(s.finished) AS max_finished FROM steps s JOIN flights f @@ -1212,6 +1212,8 @@ END_UPTOINCL AS duration END_ALWAYS + my $recentflights_q= $dbh_tests->prepare($recentflights_qtxt); + my $duration_anyref_q= $dbh_tests->prepare($duration_anyref_qtxt); my $duration_duration_q = $dbh_tests->prepare($duration_duration_qtxt); return sub { -- 2.20.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |