Build fixes

This commit is contained in:
Nikita Mikhaylov 2024-11-20 15:39:30 +00:00
parent 41416952c8
commit 4a66d43249
3 changed files with 11 additions and 2 deletions

View File

@ -296,6 +296,9 @@ ClientBase::ClientBase(
, std_out(out_fd_) , std_out(out_fd_)
, progress_indication(output_stream_, in_fd_, err_fd_) , progress_indication(output_stream_, in_fd_, err_fd_)
, progress_table(output_stream_, in_fd_, err_fd_) , progress_table(output_stream_, in_fd_, err_fd_)
, in_fd(in_fd_)
, out_fd(out_fd_)
, err_fd(err_fd_)
, input_stream(input_stream_) , input_stream(input_stream_)
, output_stream(output_stream_) , output_stream(output_stream_)
, error_stream(error_stream_) , error_stream(error_stream_)

View File

@ -404,6 +404,10 @@ protected:
std::atomic_bool cancelled = false; std::atomic_bool cancelled = false;
std::atomic_bool cancelled_printed = false; std::atomic_bool cancelled_printed = false;
int in_fd = STDIN_FILENO;
int out_fd = STDOUT_FILENO;
int err_fd = STDERR_FILENO;
/// Unpacked descriptors and streams for the ease of use. /// Unpacked descriptors and streams for the ease of use.
std::istream & input_stream; std::istream & input_stream;
std::ostream & output_stream; std::ostream & output_stream;

View File

@ -1,6 +1,8 @@
import subprocess
import pytest
import os import os
import subprocess
import pytest
from helpers.cluster import ClickHouseCluster from helpers.cluster import ClickHouseCluster
cluster = ClickHouseCluster(__file__) cluster = ClickHouseCluster(__file__)