mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
In the query planner, add a heuristic that will reduce the cost of a full
table scan for a materialized view or subquery if the full scan is the outer-most loop. This is shown to speed up some queries. FossilOrigin-Name: 609fbb94b8f01d6792e5941ab23ce041313d359f6788c4dde6b1ca749ab49137
This commit is contained in:
@ -131,8 +131,8 @@ do_eqp_test 3.2.2 {
|
||||
| | `--SCALAR SUBQUERY xxxxxx
|
||||
| | `--SCAN w2
|
||||
| `--RECURSIVE STEP
|
||||
| |--SCAN w1
|
||||
| `--SCAN c
|
||||
| |--SCAN c
|
||||
| `--SCAN w1
|
||||
|--SCAN c
|
||||
|--SEARCH w2 USING INTEGER PRIMARY KEY (rowid=?)
|
||||
`--SEARCH w1 USING INTEGER PRIMARY KEY (rowid=?)
|
||||
|
Reference in New Issue
Block a user