mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
7232f47c68
The main fix is in MatchImpl.h where the "case_insensitive" parameter is added to Regexps::get(). Also made "case_insensitive" a non-default template parameter to reduce the risk of future bugs. The remainder of this commit are minor random code improvements. resoves #37114
11 lines
305 B
SQL
11 lines
305 B
SQL
DROP TABLE IF EXISTS tab;
|
|
|
|
CREATE TABLE tab (col FixedString(2)) engine = MergeTree() ORDER BY col;
|
|
|
|
INSERT INTO tab VALUES ('AA') ('Aa');
|
|
|
|
SELECT col, col LIKE '%a', col ILIKE '%a' FROM tab WHERE col = 'AA';
|
|
SELECT col, col LIKE '%a', col ILIKE '%a' FROM tab WHERE col = 'Aa';
|
|
|
|
DROP TABLE IF EXISTS tab;
|