summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-19 14:22:24 +0200
committerErich Eckner <git@eckner.net>2018-06-19 14:22:24 +0200
commit89e85b2714f99aeaae0d0a43595f80fbed0a845e (patch)
treee90d22e1da8b76426fa4c4fc04f95ee7a478f24d
parent0cb52e4d058902f5eeac0e3d3dba4bb53390ac62 (diff)
downloadarchweb32-89e85b2714f99aeaae0d0a43595f80fbed0a845e.tar.xz
buildmaster/build-list-links.php: do not limit raw graph
-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);