Changes in directory nightlytest-serverside:

ProgramResults.php updated: 1.27 -> 1.28
---
Log message:

Sort failures.


---
Diffs of the changes:  (+2 -2)

 ProgramResults.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: nightlytest-serverside/ProgramResults.php
diff -u nightlytest-serverside/ProgramResults.php:1.27 
nightlytest-serverside/ProgramResults.php:1.28
--- nightlytest-serverside/ProgramResults.php:1.27      Thu Aug 31 12:32:51 2006
+++ nightlytest-serverside/ProgramResults.php   Thu Aug 31 12:34:16 2006
@@ -396,14 +396,14 @@
 function getFailures($night_id) {
   $result="";
   if ($night_id >= $new_schema_id) {
-    $query = "SELECT * FROM tests WHERE night=$night_id AND result=\"FAIL\"";
+    $query = "SELECT * FROM tests WHERE night=$night_id AND result=\"FAIL\" 
ORDER BY program ASC";
     $program_query = mysql_query($query) or die (mysql_error());
     while($row = mysql_fetch_array($program_query)) {
       $result .= $row['program'] . "<br>\n";
     }
     mysql_free_result($program_query);
 
-    $query = "SELECT * FROM program WHERE night=$night_id ";
+    $query = "SELECT * FROM program WHERE night=$night_id ORDER BY program 
ASC";
     $program_query = mysql_query($query) or die (mysql_error());
     while($row = mysql_fetch_array($program_query)) {
       if (!isTestPass($row['result'])) {



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to