1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

When doing an UPDATE or DELETE using a multi-column index where only a few

of the earlier columns of the index are useful for the index lookup,
postpone doing the main table seek until after all WHERE clause constraints
have been evaluated, in case those constraints can be covered by unused
later terms of the index, thus avoiding unnecessary main table seeks.

FossilOrigin-Name: 0ecda433718f0bc973078099b19955dcfb0dcd15b68455e53156ac708e9d92e5
This commit is contained in:
dan
2020-08-17 21:03:53 +00:00
parent 9539a09634
commit 296f59ae54
12 changed files with 95 additions and 54 deletions

View File

@@ -467,7 +467,7 @@ do_test rtreefuzz001-100 {
catchsql {
SELECT rtreecheck('t1');
}
} {1 {SQL logic error}}
} {1 {database disk image is malformed}}
do_test rtreefuzz001-200 {
sqlite3 db {}