summaryrefslogtreecommitdiff
path: root/bin/check-db-structure
diff options
context:
space:
mode:
Diffstat (limited to 'bin/check-db-structure')
-rwxr-xr-xbin/check-db-structure6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/check-db-structure b/bin/check-db-structure
index afe01bd..1055b08 100755
--- a/bin/check-db-structure
+++ b/bin/check-db-structure
@@ -9,7 +9,11 @@
# shellcheck disable=SC2016
{
- printf 'SELECT `proc`.`name` FROM `mysql`.`proc` WHERE `proc`.`Db`="buildmaster"' | \
+ {
+ printf 'SELECT `proc`.`name`'
+ printf ' FROM `mysql`.`proc`'
+ printf ' WHERE `proc`.`Db`="buildmaster"'
+ } | \
mysql_run_query | \
while read -r procedure; do
printf 'SHOW CREATE PROCEDURE `%s`;\n' "${procedure}"