mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-09 18:10:48 +00:00
20 lines
425 B
C++
20 lines
425 B
C++
#include <Formats/MySQLWireBlockOutputStream.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
void registerOutputFormatMySQLWire(FormatFactory & factory)
|
|
{
|
|
factory.registerOutputFormat("MySQLWire", [](
|
|
WriteBuffer & buf,
|
|
const Block & sample,
|
|
const Context & context,
|
|
const FormatSettings &)
|
|
{
|
|
return std::make_shared<MySQLWireBlockOutputStream>(buf, sample, const_cast<Context &>(context));
|
|
});
|
|
}
|
|
|
|
}
|