mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
8e63d2f795
* Add a new member to ClientBase: default_output_compression_method * Move the code to get file path from file descriptor to a separate Common function. The stateless test is almost a copy-paste of 02001_compress_output_file. Fixes https://github.com/ClickHouse/ClickHouse/issues/63496
11 lines
208 B
C++
11 lines
208 B
C++
#pragma once
|
|
|
|
#include <optional>
|
|
#include <base/types.h>
|
|
|
|
namespace DB
|
|
{
|
|
/// Supports only Linux/MacOS. On other platforms, returns nullopt.
|
|
std::optional<String> tryGetFileNameFromFileDescriptor(int fd);
|
|
}
|