summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-10-14 06:17:43 +0200
committerErich Eckner <git@eckner.net>2019-10-14 06:17:43 +0200
commit91b8b08add3f214a7721ece96bf7e86e0545dab9 (patch)
tree7e37e630e2a1b287a95273febe1d9007db134ad8
parent7b2c515913b87dbdf8dea712ce4759553958dfb9 (diff)
downloadSchraubendatenbank-91b8b08add3f214a7721ece96bf7e86e0545dab9.tar.xz
Inventur: zeige Typ von fehlendem Barcode mit an
-rwxr-xr-xInventur2
1 files changed, 1 insertions, 1 deletions
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} \