diff --git a/src/Functions/repeat.cpp b/src/Functions/repeat.cpp index e612ceb4945..29347d6a275 100644 --- a/src/Functions/repeat.cpp +++ b/src/Functions/repeat.cpp @@ -252,7 +252,7 @@ public: void registerFunctionRepeat(FunctionFactory & factory) { - factory.registerFunction(); + factory.registerFunction(FunctionFactory::CaseInsensitive); } } diff --git a/tests/queries/0_stateless/01670_test_repeat_mysql_dialect.reference b/tests/queries/0_stateless/01670_test_repeat_mysql_dialect.reference new file mode 100644 index 00000000000..58ee46e8942 --- /dev/null +++ b/tests/queries/0_stateless/01670_test_repeat_mysql_dialect.reference @@ -0,0 +1 @@ +TestTestTest diff --git a/tests/queries/0_stateless/01670_test_repeat_mysql_dialect.sql b/tests/queries/0_stateless/01670_test_repeat_mysql_dialect.sql new file mode 100644 index 00000000000..29fe81012ec --- /dev/null +++ b/tests/queries/0_stateless/01670_test_repeat_mysql_dialect.sql @@ -0,0 +1 @@ +SELECT REPEAT('Test', 3); \ No newline at end of file