Skip to content

Commit

Permalink
Format modification2
Browse files Browse the repository at this point in the history
  • Loading branch information
cat-with-cat committed Nov 10, 2024
1 parent ea67333 commit 05f9685
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/ssb-tools/bin/create-ssb-tables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ elif [ "${SCALE_FACTOR}" -eq 1000 ]; then
exit 1
fi
else
printf "%s scale is NOT supported currently\n" "$SCALE_FACTOR"
printf "%s scale is NOT supported currently\n" "${SCALE_FACTOR}"
fi

echo "ssb tables has been created"
4 changes: 2 additions & 2 deletions tools/tpcds-tools/bin/create-tpcds-tables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ echo "USER: ${USER}"
echo "DB: ${DB}"
echo "SF: ${SCALE_FACTOR}"
if ! mysql -h"${FE_HOST}" -u"${USER}" -P"${FE_QUERY_PORT}" -e "DROP DATABASE IF EXISTS ${DB}" 2>&1; then
printf "Error: Failed to drop the database %s.\n" "$DB" >&2
printf "Error: Failed to drop the database %s.\n" "${DB}" >&2
exit 1
fi

if ! mysql -h"${FE_HOST}" -u"${USER}" -P"${FE_QUERY_PORT}" -e "CREATE DATABASE ${DB}" 2>&1; then
printf "Error: Failed to create the database %s.\n" "$DB" >&2
printf "Error: Failed to create the database %s.\n" "${DB}" >&2
exit 1
fi
# shellcheck disable=SC2292
Expand Down

0 comments on commit 05f9685

Please sign in to comment.