mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 21:03:51 +00:00
25 lines
504 B
C++
25 lines
504 B
C++
#include "FunctionsStringSearch.h"
|
|
#include "FunctionFactory.h"
|
|
#include "PositionImpl.h"
|
|
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct NamePositionCaseInsensitive
|
|
{
|
|
static constexpr auto name = "positionCaseInsensitive";
|
|
};
|
|
|
|
using FunctionPositionCaseInsensitive = FunctionsStringSearch<PositionImpl<NamePositionCaseInsensitive, PositionCaseInsensitiveASCII>>;
|
|
|
|
}
|
|
|
|
void registerFunctionPositionCaseInsensitive(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionPositionCaseInsensitive>();
|
|
}
|
|
}
|