28 lines
600 B
SQL
28 lines
600 B
SQL
# name: test/issues/general/test_1427.test
|
|
# description: Issue 1427: Segment Fault Crash when select a view (which has IN statement)
|
|
# group: [general]
|
|
|
|
statement ok
|
|
PRAGMA enable_verification
|
|
|
|
statement ok
|
|
create table t as select 123 as a
|
|
|
|
statement ok
|
|
select * from (select 123 as a) t where a in (select 123 );
|
|
|
|
statement ok
|
|
select * from t where a in (select 123 );
|
|
|
|
statement ok
|
|
create view t0 as select * from t where a in (select 123 );
|
|
|
|
statement ok
|
|
select * from t0
|
|
|
|
statement ok
|
|
create view t1 as select * from (select 123 as a) t where a in (select 123 );
|
|
|
|
statement ok
|
|
select * from t1
|