Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster
diff options
context:
space:
mode:
Diffstat (limited to 'buildmaster')
-rw-r--r--buildmaster/build-list-links.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/buildmaster/build-list-links.php b/buildmaster/build-list-links.php
index 6765e5e..7b0243e 100644
--- a/buildmaster/build-list-links.php
+++ b/buildmaster/build-list-links.php
@@ -5,6 +5,9 @@ include "lib/mysql.php";
$edges = "";
$knots = "";
+if (!isset($_GET["raw"]))
+ $limit = " LIMIT 150";
+
$query =
"CREATE TEMPORARY TABLE `ba` (" .
"`id` BIGINT, " .
@@ -27,7 +30,7 @@ $query =
" JOIN `repositories` ON `binary_packages_in_repositories`.`repository`=`repositories`.`id`" .
" JOIN `build_assignments` ON `binary_packages`.`build_assignment`=`build_assignments`.`id`" .
" WHERE `repositories`.`name`=\"build-list\"" .
- " LIMIT 150";
+ $limit;
if (isset($_GET["raw"]))
print $query . ";\n";
mysql_run_query($query);