[llvm-commits] CVS: nightlytest-serverside/NightlyTestAccept.cgi
Patrick Jenkins
pjenkins at apple.com
Thu Jul 27 14:12:50 PDT 2006
Changes in directory nightlytest-serverside:
NightlyTestAccept.cgi updated: 1.34 -> 1.35
---
Log message:
the file size information shoudl be submitted to the database successfully
---
Diffs of the changes: (+3 -7)
NightlyTestAccept.cgi | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
Index: nightlytest-serverside/NightlyTestAccept.cgi
diff -u nightlytest-serverside/NightlyTestAccept.cgi:1.34 nightlytest-serverside/NightlyTestAccept.cgi:1.35
--- nightlytest-serverside/NightlyTestAccept.cgi:1.34 Wed Jul 26 20:22:51 2006
+++ nightlytest-serverside/NightlyTestAccept.cgi Thu Jul 27 16:12:36 2006
@@ -373,7 +373,7 @@
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sub AddFile{ #$file, $size, $night, $type
$query = "INSERT INTO file (file, size, night, type) VALUES (\"$_[0]\", ".
- "\"$_[1]\", \"$_[2]\", $_[3])";
+ "\"$_[1]\", \"$_[2]\", \"$_[3]\")";
my $d = $dbh->prepare($query);
$d->execute;
}
@@ -448,10 +448,6 @@
$external_tests = "" unless $external_tests;
my @EXTERNAL_TESTS = split $spliton, $external_tests;
-my $olden_tests=param('olden_tests');
- $olden_tests="" unless $olden_tests;
-my @OLDEN_TESTS = split $spliton, $singlesource_tests;
-
my $o_file_size = param('o_file_sizes');
$o_file_size="" unless $o_file_size;
chomp($o_file_size);
@@ -643,12 +639,12 @@
}
foreach $x (@O_FILE_SIZE){
- $x =~ m/(.+)\s+(.+)\s+(.+)/gi;
+ $x =~ m/(.+)\s+(.+)\s+(.+)/;
AddFile $2, $1, $night_id, $3;
}
foreach $x (@A_FILE_SIZE){
- $x =~ m/(.+)\s+(.+)\s+(.+)/gi;
+ $x =~ m/(.+)\s+(.+)\s+(.+)/;
AddFile $2, $1, $night_id, $3;
}
More information about the llvm-commits
mailing list