mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Fixed test [#CLICKHOUSE-2].
This commit is contained in:
parent
53364dcc8d
commit
1d93e93af3
@ -3,6 +3,6 @@ bar bar
|
||||
boa b*a
|
||||
foo f**
|
||||
54db0d43009d\0\0\0\0 54db0d43009d****
|
||||
fe2b58224766cf10 fe2b58224766cf10
|
||||
54db0d43009d\0\0\0\0 54db0d43009d****
|
||||
fe2b58224766cf10 fe2b58224766cf10
|
||||
fe2b58224766cf10 fe2b58224766cf10
|
||||
|
@ -15,9 +15,7 @@ ORDER BY str ASC;
|
||||
DROP TABLE test.replaceall;
|
||||
|
||||
CREATE TABLE test.replaceall (date Date DEFAULT today(), fs FixedString(16)) ENGINE = MergeTree(date, (date, fs), 8192);
|
||||
INSERT INTO test (fs) VALUES
|
||||
('54db0d43009d\0\0\0\0'), ('fe2b58224766cf10'),
|
||||
('54db0d43009d\0\0\0\0'), ('fe2b58224766cf10');
|
||||
INSERT INTO test.replaceall (fs) VALUES ('54db0d43009d\0\0\0\0'), ('fe2b58224766cf10'), ('54db0d43009d\0\0\0\0'), ('fe2b58224766cf10');
|
||||
|
||||
SELECT fs, replaceAll(fs, '\0', '*')
|
||||
FROM test.replaceall
|
||||
|
Loading…
Reference in New Issue
Block a user