ClickHouse/tests/queries/1_stateful/00095_hyperscan_profiler.sql
2020-06-19 21:44:33 +03:00

7 lines
334 B
SQL

-- Check that server does not get segfault due to bad stack unwinding from Hyperscan
SET query_profiler_cpu_time_period_ns = 1000000;
SET query_profiler_real_time_period_ns = 1000000;
SELECT count() FROM test.hits WHERE multiFuzzyMatchAny(URL, 2, ['about/address', 'for_woman', '^https?://lm-company.ruy/$', 'ultimateguitar.com']);