From 91b8b08add3f214a7721ece96bf7e86e0545dab9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 14 Oct 2019 06:17:43 +0200 Subject: Inventur: zeige Typ von fehlendem Barcode mit an --- Inventur | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Inventur b/Inventur index b536e64..c2b4b8d 100755 --- a/Inventur +++ b/Inventur @@ -154,7 +154,7 @@ fehlende_Barcodes=$( if [ -n "${fehlende_Barcodes}" ]; then >&2 printf 'Ich vermisse:\n' for Typ in "${!Spalten[@]}"; do - printf 'SELECT *' + printf 'SELECT "%s",*' "${Typ}" printf ' FROM `%sn`' "${Typ}" printf ' WHERE `%sn`.`Barcode` IN (' "${Typ}" printf 'FROM_BASE64("%s"),' ${fehlende_Barcodes} \ -- cgit v1.2.3-70-g09d2