ClickHouse/tests/queries/0_stateless/01551_context_uaf.sql

11 lines
275 B
MySQL
Raw Normal View History

2020-11-02 12:16:35 +00:00
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;