mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
19 lines
206 B
C
19 lines
206 B
C
|
#pragma once
|
||
|
|
||
|
#include <DB/IO/WriteHelpers.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
|
||
|
void writeParenthesisedString(const String & s, WriteBuffer & buf)
|
||
|
{
|
||
|
writeChar('(', buf);
|
||
|
writeString(s, buf);
|
||
|
writeChar(')', buf);
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|