ClickHouse/tests/queries/0_stateless/01674_unicode_asan.sql
Alexey Milovidov 921ee52ebc More tests
2021-01-31 05:47:59 +03:00

4 lines
330 B
SQL

SELECT positionCaseInsensitiveUTF8('иголка.ру', 'иголка.Ñ€Ñ\0') AS res;
SELECT positionCaseInsensitiveUTF8('иголка.ру', randomString(rand() % 100)) FROM system.numbers; -- { serverError 2 }
SELECT sum(ignore(positionCaseInsensitiveUTF8('иголка.ру', randomString(rand() % 2)))) FROM numbers(1000000);