mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 03:52:15 +00:00
debug
This commit is contained in:
parent
ee1cd0acf3
commit
625cb70128
@ -4,8 +4,8 @@ CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|||||||
# shellcheck source=../shell_config.sh
|
# shellcheck source=../shell_config.sh
|
||||||
. "$CUR_DIR"/../shell_config.sh
|
. "$CUR_DIR"/../shell_config.sh
|
||||||
|
|
||||||
allowed_name_length=$($CLICKHOUSE_CLIENT -mn --query="SELECT getMaxTableNameLengthForDatabase('$CLICKHOUSE_DATABASE')")
|
# allowed_name_length=$($CLICKHOUSE_CLIENT -mn --query="SELECT getMaxTableNameLengthForDatabase('$CLICKHOUSE_DATABASE')")
|
||||||
let excess_length=allowed_name_length+1
|
# let excess_length=allowed_name_length+1
|
||||||
|
|
||||||
getconf NAME_MAX /fasttest-workspace/db-fasttest/store
|
getconf NAME_MAX /fasttest-workspace/db-fasttest/store
|
||||||
# long_table_name=$(openssl rand -base64 $excess_length | tr -dc A-Za-z | head -c $excess_length)
|
# long_table_name=$(openssl rand -base64 $excess_length | tr -dc A-Za-z | head -c $excess_length)
|
||||||
|
Loading…
Reference in New Issue
Block a user