From c9f55c95cb382e22c41a310c1005e3de43379ae9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 17 Jan 2019 15:24:40 +0100 Subject: style: WHERE,ON,FROM,SELECT,JOIN should be on beginning of source lines --- bin/check-db-structure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin/check-db-structure') 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}" -- cgit v1.2.3-70-g09d2