[llvm-commits] CVS: nightlytest-serverside/SQLUtil.php
Jim Laskey
jlaskey at apple.com
Wed Sep 20 06:04:29 PDT 2006
Changes in directory nightlytest-serverside:
SQLUtil.php updated: 1.3 -> 1.4
---
Log message:
Clean up test records #4
---
Diffs of the changes: (+2 -3)
SQLUtil.php | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
Index: nightlytest-serverside/SQLUtil.php
diff -u nightlytest-serverside/SQLUtil.php:1.3 nightlytest-serverside/SQLUtil.php:1.4
--- nightlytest-serverside/SQLUtil.php:1.3 Wed Sep 20 07:11:49 2006
+++ nightlytest-serverside/SQLUtil.php Wed Sep 20 08:04:14 2006
@@ -15,7 +15,7 @@
$mysql_link = mysql_connect("127.0.0.1", "llvm", "ll2002vm") or die("Error: could not connect to database!\n");
mysql_select_db("nightlytestresults");
-$query = "SELECT * FROM tests";
+$query = "SELECT * FROM tests WHERE measure=\"dejagnu\"";
if ($get_query = mysql_query($query)) {
while ($row = mysql_fetch_assoc($get_query)) {
$old = $row['program'];
@@ -24,9 +24,8 @@
list($ignore, $before, $after) = $subpatterns;
$new = "test/".$after;
$result = $row['result'];
- $measure = $row['measure'];
$night = $row['night'];
- $query = "UPDATE tests SET program=\"$new\" WHERE night=$night AND program=\"$old\" AND result=\"$result\" AND measure=\"$measure\"";
+ $query = "UPDATE tests SET program=\"$new\" WHERE night=$night AND program=\"$old\" AND result=\"$result\" AND measure=\"dejagnu\"";
$set_query = mysql_query($query);
mysql_free_result($set_query);
}
More information about the llvm-commits
mailing list