[llvm-commits] CVS: nightlytest-serverside/NightlyTestAccept.php
Jim Laskey
jlaskey at apple.com
Thu Sep 14 05:14:36 PDT 2006
Changes in directory nightlytest-serverside:
NightlyTestAccept.php updated: 1.21 -> 1.22
---
Log message:
testing #20
---
Diffs of the changes: (+4 -1)
NightlyTestAccept.php | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
Index: nightlytest-serverside/NightlyTestAccept.php
diff -u nightlytest-serverside/NightlyTestAccept.php:1.21 nightlytest-serverside/NightlyTestAccept.php:1.22
--- nightlytest-serverside/NightlyTestAccept.php:1.21 Thu Sep 14 07:12:05 2006
+++ nightlytest-serverside/NightlyTestAccept.php Thu Sep 14 07:14:22 2006
@@ -782,7 +782,10 @@
"buildstatus=\"OK\" ORDER BY id DESC";
$night_query = mysql_query($query) or die(mysql_error());
$row = mysql_fetch_array($night_query);
-$prev_night = $row['id'] or $night_query;
+$prev_night = $row['id'];
+if (isset($prev_night)) {
+ $prev_night = $night_query;
+}
mysql_free_result($night_query);
$query = "SELECT * FROM program WHERE night=$night_id";
More information about the llvm-commits
mailing list