mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
Add a test for #9246
This commit is contained in:
parent
8a68ee2547
commit
eea28e5ca4
10
tests/queries/0_stateless/01551_context_uaf.sql
Normal file
10
tests/queries/0_stateless/01551_context_uaf.sql
Normal file
@ -0,0 +1,10 @@
|
||||
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;
|
Loading…
Reference in New Issue
Block a user