From 89e85b2714f99aeaae0d0a43595f80fbed0a845e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 19 Jun 2018 14:22:24 +0200 Subject: buildmaster/build-list-links.php: do not limit raw graph --- buildmaster/build-list-links.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2