This is an automated email from the ASF dual-hosted git repository. vitalii pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/drill.git
commit 904bb71f3b8984148d07a0c8a731ef4aeafa541e Author: Arina Ielchiieva <[email protected]> AuthorDate: Tue Nov 13 19:53:07 2018 +0200 DRILL-3933: Surround $QUERY variable in double-quotes to avoid asterisk expansion in sqlline script closes #1538 --- distribution/src/resources/sqlline | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/src/resources/sqlline b/distribution/src/resources/sqlline index 1db0083..03ca2d5 100644 --- a/distribution/src/resources/sqlline +++ b/distribution/src/resources/sqlline @@ -91,7 +91,7 @@ if [ -n "$_DRILL_WRAPPER_" ]; then fi if [ -n "$QUERY" ] ; then - echo $QUERY | exec $CMD "${SLARGS[@]}" + echo "$QUERY" | exec $CMD "${SLARGS[@]}" elif [ -n "$FILE" ] ; then exec $CMD "${SLARGS[@]}" --run=$FILE else
