[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 2/7] duration_estimator: Reformat inner SQL query with more newlines



This is going to make the next patch, which adds more complication,
easier to read.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 Osstest/Executive.pm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Osstest/Executive.pm b/Osstest/Executive.pm
index a57ea55..116012b 100644
--- a/Osstest/Executive.pm
+++ b/Osstest/Executive.pm
@@ -1057,9 +1057,11 @@ END
     # 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);
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.