mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +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);
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|