mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Enhance the EXISTS-to-JOIN optimization so that it works on EXISTS subqueries
that do not have a WHERE clause, and so that it works on nested EXISTS subqueries. FossilOrigin-Name: c1d5295724f9cf7f49e0786d28016eff2d268a2b670f934d24c76787626089db
This commit is contained in:
@ -193,7 +193,7 @@ do_subquery_test 3.7 1 {
|
||||
4 4 4
|
||||
}
|
||||
|
||||
do_subquery_test 3.8 1 {
|
||||
do_subquery_test 3.8 0 {
|
||||
SELECT * FROM y1 WHERE EXISTS ( SELECT a+1 FROM y2 )
|
||||
} {
|
||||
1 1 1
|
||||
|
Reference in New Issue
Block a user