summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-07 16:30:10 +0100
committerErich Eckner <git@eckner.net>2018-03-07 16:30:10 +0100
commita13bfbacf27d09f7c8ea6b4b559b0980ee8957b9 (patch)
treed541a117c6cf4b18cd363b54702abde1d679e136 /bin/db-update
parent98c468dee44e09a27c89019c3d8c584efe0bf1c0 (diff)
downloadbuilder-a13bfbacf27d09f7c8ea6b4b559b0980ee8957b9.tar.xz
make -N --raw --batch the default arguments to mysql, explicitely override them if required
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/db-update b/bin/db-update
index 5efa220..5756494 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -467,7 +467,7 @@ errors=$(
printf ' JOIN `repository_stabilities` ON `repository_stability_relations`.`more_stable`=`repository_stabilities`.`id`'
printf ' WHERE `repository_stabilities`.`name` = "testing"'
} | \
- mysql_run_query -N --raw --batch | \
+ mysql_run_query | \
sed 'p'
# shellcheck disable=SC2086
printf '%s\n' ${packages_to_force_stabilize} | \
@@ -503,7 +503,7 @@ errors=$(
printf ' JOIN `repository_stabilities` ON `repository_stability_relations`.`more_stable`=`repository_stabilities`.`id`'
printf ' WHERE `repository_stabilities`.`name` = "staging"'
} | \
- mysql_run_query -N --raw --batch | \
+ mysql_run_query | \
sed 'p'
# shellcheck disable=SC2086
printf '%s\n' ${packages_to_force_unstage} | \