Changes in directory nightlytest-serverside:
EmailReport.php updated: 1.7 -> 1.8 --- Log message: Delete Wickund night records --- Diffs of the changes: (+6 -2) EmailReport.php | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) Index: nightlytest-serverside/EmailReport.php diff -u nightlytest-serverside/EmailReport.php:1.7 nightlytest-serverside/EmailReport.php:1.8 --- nightlytest-serverside/EmailReport.php:1.7 Tue Sep 12 06:37:07 2006 +++ nightlytest-serverside/EmailReport.php Thu Sep 14 07:57:03 2006 @@ -2,6 +2,7 @@ <body> <?php +/* if(!isset($HTTP_GET_VARS['machine']) || !is_numeric($HTTP_GET_VARS['machine'])){ print "Error: Incorrect URL!\n"; die(); @@ -14,7 +15,6 @@ } $night_id = $HTTP_GET_VARS['night']; - if(!(include "NightlyTester.php")) { print "Error: could not load necessary files!\n"; die(); @@ -24,12 +24,14 @@ print "Error: could not load necessary files!\n"; die(); } +*/ $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 night WHERE machine = \"$machine_id\""; +$query = "DELETE FROM night WHERE machine = \"56\""; $night_query = mysql_query($query) or die (mysql_error()); +/* if ($row = mysql_fetch_array($night_query) or die (mysql_error())) { while ($value = current($row)) { $key_name = key($row); @@ -37,9 +39,11 @@ next($row); } } +*/ mysql_free_result($night_query); mysql_close($mysql_link); + ?> </body> </html> _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits