ClickHouse/tests/queries/0_stateless/01551_context_uaf.sql
2020-11-02 15:16:35 +03:00

11 lines
275 B
SQL

DROP TABLE IF EXISTS f;
DROP TABLE IF EXISTS v;
create table f(s String) engine File(TSV, '/dev/null');
create view v as (select * from f);
select * from v; -- was failing long time ago
select * from merge('', 'f'); -- was failing long time ago
DROP TABLE f;
DROP TABLE v;