mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-09 03:04:20 +01:00
regression test for crash in op_column
This commit is contained in:
@@ -329,3 +329,13 @@ do_execsql_test_on_specific_db {:memory:} next-crash {
|
||||
select a.x, b.x, c.x from a left join b on a.y=b.x left join c on b.y=c.x;
|
||||
} {1||
|
||||
2||}
|
||||
|
||||
# regression test for crash in op_column
|
||||
do_execsql_test_on_specific_db {:memory:} left-join-column-crash {
|
||||
create table a(x int primary key,y);
|
||||
create table b(x int primary key,y);
|
||||
insert into a values (1,1),(2,2);
|
||||
insert into b values (3,3),(4,4);
|
||||
select * from a left join b on a.x < 2 where a.x < 3 and b.x < 12;
|
||||
} {1|1|3|3
|
||||
1|1|4|4}
|
||||
Reference in New Issue
Block a user