summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-02 12:43:34 +0200
committerErich Eckner <git@eckner.net>2019-07-02 12:46:00 +0200
commit08b0d4de643e27b8532f25ab9cc40e21be6b09e9 (patch)
tree00a67aa6744c87f7eebae3d19b3b82b1d899ce64
parent8d36443a8876dff1c31d86717a1197f5231b0bfc (diff)
downloadbuilder-08b0d4de643e27b8532f25ab9cc40e21be6b09e9.tar.xz
lib/common-functions: update_blocked_packages_count() should use "unimportant" mysql queries
-rwxr-xr-xlib/common-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 15b4fa8..73628b7 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -980,7 +980,7 @@ update_blocked_packages_count() {
printf ' OR `b_bp`.`architecture`=%s' \
"${architecture_ids__any}"
} | \
- mysql_run_query | \
+ mysql_run_query 'unimportant' | \
tr '\t' ' ' | \
sort -u | \
sort -k1,1 > \
@@ -1039,6 +1039,6 @@ update_blocked_packages_count() {
printf ' ON `build_assignments`.`id`=`lc`.`ba_id`'
printf ' SET `build_assignments`.`currently_blocking`=`lc`.`count`;\n'
} | \
- mysql_run_query
+ mysql_run_query 'unimportant'
)
}