mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
16 lines
281 B
C++
16 lines
281 B
C++
#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);
|
|
}
|
|
}
|