mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
fix code style
This commit is contained in:
parent
abc5fa3331
commit
74b31ce6a9
@ -10,6 +10,7 @@
|
|||||||
#include "Common/Exception.h"
|
#include "Common/Exception.h"
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
#include <memory>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
@ -134,7 +135,7 @@ RemoteReadBufferCacheError RemoteCacheController::waitMoreData(size_t start_offs
|
|||||||
|
|
||||||
void RemoteCacheController::backgroupDownload(std::function<void(RemoteCacheController *)> const & finish_callback)
|
void RemoteCacheController::backgroupDownload(std::function<void(RemoteCacheController *)> const & finish_callback)
|
||||||
{
|
{
|
||||||
download_thread.reset(new ThreadPool(1));
|
download_thread = std::make_shared<ThreadPool>(1);
|
||||||
auto task = [this, finish_callback]()
|
auto task = [this, finish_callback]()
|
||||||
{
|
{
|
||||||
size_t unflush_bytes = 0;
|
size_t unflush_bytes = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user