1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

Add an optimization that attempts to run a subquery as a coroutine rather

than manifesting it into a temporary table.

FossilOrigin-Name: 7af3acbbd49a2114fcdada9ec907c68ba9b053bd
This commit is contained in:
drh
2012-10-30 00:29:07 +00:00
parent 6e227bf3e0
commit 21172c4cc0
13 changed files with 104 additions and 40 deletions

View File

@ -299,7 +299,7 @@ ifcapable {compound && subquery} {
SELECT max(rowid) FROM t4 UNION SELECT max(rowid) FROM t5
)
}
} {1}
} {{}}
do_test minmax-9.2 {
execsql {
SELECT max(rowid) FROM (