Fix build.

This commit is contained in:
Nikolai Kochetov 2019-02-21 19:15:18 +03:00
parent aba56e171c
commit 99504f9f09
5 changed files with 5 additions and 7 deletions

View File

@ -24,8 +24,6 @@ public:
void writeField(const IColumn & column, const IDataType & type, size_t row_num) override;
void writePrefix() override;
void flush() override;
String getContentType() const override { return "application/octet-stream"; }
protected:

View File

@ -308,7 +308,7 @@ void registerInputFormatProcessorCapnProto(FormatFactory & factory)
namespace DB
{
class FormatFactory;
void registerInputFormatCapnProto(FormatFactory &) {}
void registerInputFormatProcessorCapnProto(FormatFactory &) {}
}
#endif // USE_CAPNP

View File

@ -242,7 +242,7 @@ void JSONRowOutputFormat::onProgress(const Progress & value)
}
void registerOutputFormatProcessorProcessorJSON(FormatFactory & factory)
void registerOutputFormatProcessorJSON(FormatFactory & factory)
{
factory.registerOutputFormatProcessor("JSON", [](
WriteBuffer & buf,

View File

@ -142,7 +142,7 @@ private:
}
};
void registerInputFormatNativeProcessor(FormatFactory & factory)
void registerInputFormatProcessorNative(FormatFactory & factory)
{
factory.registerInputFormatProcessor("Native", [](
ReadBuffer & buf,
@ -155,7 +155,7 @@ void registerInputFormatNativeProcessor(FormatFactory & factory)
});
}
void registerOutputFormatNativeProcessor(FormatFactory & factory)
void registerOutputFormatProcessorNative(FormatFactory & factory)
{
factory.registerOutputFormatProcessor("Native", [](
WriteBuffer & buf,

View File

@ -16,7 +16,7 @@ ODBCDriver2BlockOutputFormat::ODBCDriver2BlockOutputFormat(
{
}
void writeODBCString(WriteBuffer & out, const std::string & str)
static void writeODBCString(WriteBuffer & out, const std::string & str)
{
writeIntBinary(Int32(str.size()), out);
out.write(str.data(), str.size());