mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 11:04:10 +00:00
37 lines
2.0 KiB
SQL
37 lines
2.0 KiB
SQL
-- Tags: race
|
|
|
|
SELECT 'a}a' AS x, x LIKE (concat('%', x, '%') AS pat), materialize(x) LIKE pat;
|
|
SELECT 'a}a' AS x, x LIKE (concat('%', x) AS pat), materialize(x) LIKE pat;
|
|
SELECT 'a}a' AS x, x LIKE (concat(x, '%') AS pat), materialize(x) LIKE pat;
|
|
SELECT 'a}a' AS x, x LIKE (x AS pat), materialize(x) LIKE pat;
|
|
|
|
SELECT 'a{a' AS x, x LIKE (concat('%', x, '%') AS pat), materialize(x) LIKE pat;
|
|
SELECT 'a{a' AS x, x LIKE (concat('%', x) AS pat), materialize(x) LIKE pat;
|
|
SELECT 'a{a' AS x, x LIKE (concat(x, '%') AS pat), materialize(x) LIKE pat;
|
|
SELECT 'a{a' AS x, x LIKE (x AS pat), materialize(x) LIKE pat;
|
|
|
|
SELECT '{a' AS x, x LIKE (concat('%', x, '%') AS pat), materialize(x) LIKE pat;
|
|
SELECT '{a' AS x, x LIKE (concat('%', x) AS pat), materialize(x) LIKE pat;
|
|
SELECT '{a' AS x, x LIKE (concat(x, '%') AS pat), materialize(x) LIKE pat;
|
|
SELECT '{a' AS x, x LIKE (x AS pat), materialize(x) LIKE pat;
|
|
|
|
SELECT 'a{' AS x, x LIKE (concat('%', x, '%') AS pat), materialize(x) LIKE pat;
|
|
SELECT 'a{' AS x, x LIKE (concat('%', x) AS pat), materialize(x) LIKE pat;
|
|
SELECT 'a{' AS x, x LIKE (concat(x, '%') AS pat), materialize(x) LIKE pat;
|
|
SELECT 'a{' AS x, x LIKE (x AS pat), materialize(x) LIKE pat;
|
|
|
|
SELECT 'a}' AS x, x LIKE (concat('%', x, '%') AS pat), materialize(x) LIKE pat;
|
|
SELECT 'a}' AS x, x LIKE (concat('%', x) AS pat), materialize(x) LIKE pat;
|
|
SELECT 'a}' AS x, x LIKE (concat(x, '%') AS pat), materialize(x) LIKE pat;
|
|
SELECT 'a}' AS x, x LIKE (x AS pat), materialize(x) LIKE pat;
|
|
|
|
SELECT '}a' AS x, x LIKE (concat('%', x, '%') AS pat), materialize(x) LIKE pat;
|
|
SELECT '}a' AS x, x LIKE (concat('%', x) AS pat), materialize(x) LIKE pat;
|
|
SELECT '}a' AS x, x LIKE (concat(x, '%') AS pat), materialize(x) LIKE pat;
|
|
SELECT '}a' AS x, x LIKE (x AS pat), materialize(x) LIKE pat;
|
|
|
|
SELECT '{a}' AS x, x LIKE (concat('%', x, '%') AS pat), materialize(x) LIKE pat;
|
|
SELECT '{a}' AS x, x LIKE (concat('%', x) AS pat), materialize(x) LIKE pat;
|
|
SELECT '{a}' AS x, x LIKE (concat(x, '%') AS pat), materialize(x) LIKE pat;
|
|
SELECT '{a}' AS x, x LIKE (x AS pat), materialize(x) LIKE pat;
|