ClickHouse/src/Functions/tryBase58Decode.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
492 B
C++
Raw Normal View History

#include <Functions/FunctionBase58Conversion.h>
#include <Functions/FunctionFactory.h>
namespace DB
{
namespace
{
struct NameTryBase58Decode
{
static constexpr auto name = "tryBase58Decode";
};
using TryBase58DecodeImpl = Base58Decode<NameTryBase58Decode, Base58DecodeErrorHandling::ReturnEmptyString>;
using FunctionTryBase58Decode = FunctionBase58Conversion<TryBase58DecodeImpl>;
}
REGISTER_FUNCTION(TryBase58Decode)
{
factory.registerFunction<FunctionTryBase58Decode>();
}
}