Fix build

This commit is contained in:
alesapin 2022-06-02 18:24:29 +02:00
parent 46bccae078
commit 4e4c95c5cc
2 changed files with 4 additions and 3 deletions

View File

@ -27,7 +27,7 @@ using MetadataOperationPtr = std::unique_ptr<IMetadataOperation>;
struct IMetadataTransaction : private boost::noncopyable
{
public:
virtual void addOperation(MetadataOperationPtr && operation);
virtual void addOperation(MetadataOperationPtr && operation) = 0;
virtual void commit() = 0;
virtual void rollback() = 0;
@ -56,13 +56,13 @@ public:
const std::string & path,
const ReadSettings & settings = ReadSettings{},
std::optional<size_t> read_hint = {},
std::optional<size_t> file_size = {}) const;
std::optional<size_t> file_size = {}) const = 0;
virtual std::unique_ptr<WriteBufferFromFileBase> writeFile( /// NOLINT
const std::string & path,
MetadataTransactionPtr transaction,
size_t buf_size = DBMS_DEFAULT_BUFFER_SIZE,
const WriteSettings & settings = {});
const WriteSettings & settings = {}) = 0;
virtual void setLastModified(const std::string & path, const Poco::Timestamp & timestamp, MetadataTransactionPtr transaction) = 0;

View File

@ -1,6 +1,7 @@
#pragma once
#include <Disks/ObjectStorages/IMetadataStorage.h>
#include <Disks/IDisk.h>
namespace DB