ClickHouse/src/Common/NamePrompter.cpp

16 lines
281 B
C++
Raw Normal View History

2022-04-01 13:12:54 +00:00
#include <IO/WriteHelpers.h>
#include <Common/NamePrompter.h>
namespace DB::detail
{
void appendHintsMessageImpl(String & message, const std::vector<String> & hints)
{
if (hints.empty())
{
return;
}
message += ". Maybe you meant: " + toString(hints);
}
}