mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
6d8706e692
stdin_is_not_tty is detected too late when the --help message is printed, so fix this and do not call ioctl if stdin is not tty. Before this patch: $ clickhouse-client --help < /dev/null debug build: $ dbms/programs/clickhouse-client --help < /dev/null Main options: --help clickhouse-client: ../contrib/boost/libs/program_options/src/options_description.cpp:542: void boost::program_options::{anonymous}::format_description(std::ostream&, const string&, unsigned int, unsigned int): Assertion `line_length > first_column_width' failed. Aborted (core dumped) release build: $ dbms/programs/clickhouse-client --help < /dev/null .... print lots of empty lines and so forth ... v2: add a test and bsdutils into image for tests v3: adjust minimal cols to the length of one of the longest arguments, since with line_length=3 boost will bail anyway (under script(1) ioctl(TIOCGWINSZ) returnes ws_col=0) |
||
---|---|---|
.. | ||
pbuilder-hooks | ||
source | ||
.gitignore | ||
.pbuilderrc | ||
changelog | ||
changelog.in | ||
clickhouse-client.install | ||
clickhouse-client.postinst | ||
clickhouse-common-static.install | ||
clickhouse-server-base.install | ||
clickhouse-server-base.postinst | ||
clickhouse-server-base.preinst | ||
clickhouse-server-base.prerm | ||
clickhouse-server-base.service | ||
clickhouse-server-common.install | ||
clickhouse-server-metrika.links | ||
clickhouse-server.cron.d | ||
clickhouse-server.docs | ||
clickhouse-server.init | ||
clickhouse-server.install | ||
clickhouse-server.postinst | ||
clickhouse-server.preinst | ||
clickhouse-server.prerm | ||
clickhouse-server.service | ||
clickhouse-test.install | ||
clickhouse.limits | ||
compat | ||
control | ||
daemons | ||
dupload.conf.in | ||
rules | ||
watch |