Skip to content

Commit f3f8af2

Browse files
authored
Merge pull request #99 from murphyatwork/murphy_fix_sr_result
fix starrocks script and result
2 parents ea48fe8 + 1ad2fe3 commit f3f8af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

starrocks/run_queries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cat queries.sql | while read -r query; do
2727
# Execute the query multiple times
2828
for i in $(seq 1 $TRIES); do
2929
RESP=$({ /usr/bin/time -f '%e' \
30-
mysql -N -s -h "$DB_HOST" -P "$DB_MYSQL_PORT" -u"$DB_USER" "$DB_NAME" \
30+
mysql --skip-auto-rehash --batch --silent -h "$DB_HOST" -P "$DB_MYSQL_PORT" -u"$DB_USER" "$DB_NAME" \
3131
-e "$query" >/dev/null; } 2>&1)
3232
echo "Response time: ${RESP} s"
3333
done;

0 commit comments

Comments
 (0)