[llvm-commits] CVS: nightlytest-serverside/SQLUtil.php

Jim Laskey jlaskey at apple.com
Wed Sep 20 06:08:53 PDT 2006



Changes in directory nightlytest-serverside:

SQLUtil.php updated: 1.4 -> 1.5
---
Log message:

Clean up test records #5

---
Diffs of the changes:  (+3 -0)

 SQLUtil.php |    3 +++
 1 files changed, 3 insertions(+)


Index: nightlytest-serverside/SQLUtil.php
diff -u nightlytest-serverside/SQLUtil.php:1.4 nightlytest-serverside/SQLUtil.php:1.5
--- nightlytest-serverside/SQLUtil.php:1.4	Wed Sep 20 08:04:14 2006
+++ nightlytest-serverside/SQLUtil.php	Wed Sep 20 08:08:38 2006
@@ -17,6 +17,7 @@
 
 $query = "SELECT * FROM tests WHERE measure=\"dejagnu\"";
 if ($get_query = mysql_query($query)) {
+  $count = 1;
   while ($row = mysql_fetch_assoc($get_query)) {
     $old = $row['program'];
     $subpatterns = array();
@@ -29,6 +30,8 @@
       $set_query = mysql_query($query);
       mysql_free_result($set_query);
     }
+    if (($count % 1000) == 0) print "Count = $count<BR>\n";
+    $count++;
   }
 
   mysql_free_result($get_query);






More information about the llvm-commits mailing list