ClickHouse/tests/queries/0_stateless/02675_grant_query_formatting.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
254 B
Bash
Raw Normal View History

2023-03-22 19:17:47 +00:00
#!/usr/bin/env bash
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
set -e
format="$CLICKHOUSE_FORMAT --oneline"
echo "grant select on *.* to A with replace option" | $format