summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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} \