index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-06-19 14:22:24 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-19 14:22:24 +0200 |
commit | 89e85b2714f99aeaae0d0a43595f80fbed0a845e (patch) | |
tree | e90d22e1da8b76426fa4c4fc04f95ee7a478f24d /buildmaster | |
parent | 0cb52e4d058902f5eeac0e3d3dba4bb53390ac62 (diff) |
-rw-r--r-- | buildmaster/build-list-links.php | 5 |
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); |