Try fix macos build

This commit is contained in:
proller 2017-04-29 00:17:52 +03:00
parent 42fcf148e2
commit 2a1eceef03

View File

@ -38,8 +38,12 @@ std::ostream & operator<<(std::ostream & stream, const DB::IDataType & what)
std::ostream & operator<<(std::ostream & stream, const DB::IStorage & what)
{
stream << "IStorage(name = " << what.getName() << ", tableName = " << what.getTableName() << ")"
<< " {" << what.getColumnsList() << "}";
stream << "IStorage(name = " << what.getName() << ", tableName = " << what.getTableName() << ") {"
// TODO: uncomment #if and fix me:
#if !defined(__APPLE__)
<< what.getColumnsList()
#endif
<< "}";
// isRemote supportsSampling supportsFinal supportsPrewhere supportsParallelReplicas
return stream;
}
@ -59,7 +63,12 @@ std::ostream & operator<<(std::ostream & stream, const DB::IFunction & what)
std::ostream & operator<<(std::ostream & stream, const DB::Block & what)
{
stream << "Block(data = " << what.getColumns() << ")";
stream << "Block("
// TODO: uncomment #if and fix me:
#if !defined(__APPLE__)
<< "data = " << what.getColumns()
#endif
<< ")";
return stream;
}