dbms: Build fix. [#METR-21516]

This commit is contained in:
Vladimir Chebotarev 2016-05-29 04:36:19 +03:00
parent d1f7302d96
commit 42e6374087
3 changed files with 10 additions and 6 deletions

View File

@ -755,6 +755,7 @@ add_library (dbms
src/Dictionaries/MySQLDictionarySource.cpp
src/Dictionaries/ODBCDictionarySource.cpp
src/Dictionaries/writeParenthesisedString.cpp
src/Parsers/ASTSelectQuery.cpp
src/Parsers/ASTAlterQuery.cpp

View File

@ -7,12 +7,7 @@ namespace DB
{
void writeParenthesisedString(const String & s, WriteBuffer & buf)
{
writeChar('(', buf);
writeString(s, buf);
writeChar(')', buf);
}
void writeParenthesisedString(const String & s, WriteBuffer & buf);
}

View File

@ -0,0 +1,8 @@
#include "DB/Dictionaries/writeParenthesisedString.h"
void DB::writeParenthesisedString(const String & s, WriteBuffer & buf)
{
writeChar('(', buf);
writeString(s, buf);
writeChar(')', buf);
}